Java WSDP v1.3 -  Question?

Is there any free Databases that will work with
Java WSDP v1.3. It seems the one they use in the
tutorial is PointBase and it's only a 90 day
evaluation copy - I'd hate to finish the tutorial
and then a few days later knowthing works because
it's pasted the 90 days!
Thanks

Hey, thanks that works!
Do you know an easy way (in a Windows batch file) to
capture the system date (say the year), set it back,
run PointBase and when PointBase is stopped, have
the batch file put back the original date (year)?

Similar Messages

  • Reminder: Online Chat, Jan. 25, on Java WSDP 1.5

    Got a question about the recently-released Java Web Services Developer Pack 1.5.? Get answers in this chat with key members of the Java WSDP engineering team. The chat is scheduled for Tuesday, January 25, at 9:00 A.M. PST/12:00 noon EST/17:00 UTC.
    To join the chat, go to 9:00 A.M. PST/17:00 UTC on January 25, and click the "Join" link.

    Correction: To join the chat, go to http://java.sun.com/developer/community/chat/index.html on January 25, and click on the "Join" link.

  • Java WSDP 1.4 is not parsing SOAP Exceptions

    We used Java WSDP 1.4 toolkit to generate stubs for webservices. We used Tomcat 5.1 as the web container. When methods of the webservice are invoked which do not return SOAP exception responses, WSDP is able to properly parse the response and display the resutls correctly. But when the responses contains SOAP exceptions, WSDP always returns
    "java.rmi.RemoteException: Runtime exception; nested exception is: trailing block elements must have an id attribute".
    But other toolkits like Axis 1.1,.Net,ColdFusionMX,Glue are returning proper exceptions messages. The following is the exception message received from the other toolkits for the same method invocation.
    "Exception has been thrown by the target of an invocation. '1000:Invalid data source name 'invalid_String'"
    Apart from Java WSDP all the other toolkits that we mentioned are able to parse the exception message properly and display the same.
    Any ideas why the toolkit is behaving like this. All the versions of Java WSDP that have come till date have a similar problem. We would be happy to hear any responses for the problem the we are facing in Java WSDP 1.4. At present we have decided not to use the toolkit for any web service development.

    Am specifying the URL of the WSDL file for which we are unable to get proper SOAP Exceptions, whenever they are generated. Whenever we give valid values while invoking the methods, the response is properly parsed, but when a SOAP Exception is supposed to be generated, it generally returns the Runtime exception that we mentioned. Can you please look into it and identify the reason about why it is failing. In case you are able to run it through properly, please attach the code that would make it work properly.
    The URL is :
    http://arcweb.esri.com/services/v2/PlaceFinderSample.wsdl

  • Java WSDP vs. J2EE

    I recently downloaded Java Web Services Development Package ... because I need to run SAX with Java (using JAXP in the package). On the other hand, I downloaded a code sample from this site about BookStore application. And I couldn't run the example, someone told me I don't have J2EE installed. I then look for info about J2EE (1.4 Platform) and found that actually it support Java API for XML Processing (JAXP) ... does it mean I can uninstalled my previous downloaded Java WSDP? And, if that's the case, why not just let people download J2EE since it contains all the supports including Java WSDP? Which one is better if I need to run XML and web based application? My guess is J2EE?

    JAXP is included with Java 1.4 (package javax.xml.parsers), so if all you want to do parse XML with SAX, you don't need JWSDP or J2EE. J2EE includes the Java Enterprise APIs, which includes things like Enterprise JavaBeans, servlets, etc. JWSDP provides APIs for building web services that process SOAP messages and includes some packages related to web service that aren't in J2EE, including a UDDI registry server and browser, the JAXR API, WS-I sample app, a web service security API, Tomcat, and Ant.
    Mike

  • Java app is writing question marks instead of extended characters

    People,
    since I've installed an Sun E3000 with Solaris9 I'm having problems with accents (extended characters) in my java application: - it writes question marks instead of accents.
    This machine used to be Solaris 2.6 and we formatted/installed Solaris9 and got the problem since then.
    My application uses a thin driver to connect to Oracle9i database, and via unix I can call sqlplus and insert chr(199) and SELECT it (�) with no problems, but application writes ? in nohup.out.
    If you can point me in any direction, please let me know.
    Regards, Orlando.

    I'm pretty sure that the default locale "C" corresponds to the 7-bit US-ASCII character set. Again, this is all the methaphorical shot in the dark, but it's the only time that I've seen this happen. Sun's own documentation says to use something other than C or US ASCII if international or special characters will be needed.
    Here is my /etc/default/init for ISO 8859-15.
    TZ=US/Eastern
    CMASK=022
    LC_COLLATE=en_US.ISO8859-15
    LC_CTYPE=en_US.ISO8859-1
    LC_MESSAGES=en_US.ISO8859-1
    LC_MONETARY=en_US.ISO8859-15
    LC_NUMERIC=en_US.ISO8859-15
    LC_TIME=en_US.ISO8859-15
    If the system that you're using can be rebooted, try changing the /etc/default/init file to something like the above, but with the specific for your locale. Obviously, en_US is not your area, but I have no idea what Brazil's would be.

  • Java WSDP License

    Hi,
    There is a lot of confusion regarding the license of JWSDP.
    The Java WSDP home page (http://java.sun.com/webservices/jwsdp/index.jsp) mentions that it is a free integration toolkit. On reading it one gets the impression that it is free to use and deploy.
    But on closer inspection of license file (http://java.sun.com/webservices/docs/1.6/LICENSE) it is mentioned that it is for evaluation for 180 days.
    What is the reality. Is it for free or do we have to pay for it.
    I want to use only the JAXB compiler (xjc). What do i need to use it.
    Cheers,
    Gurpreet.

    The reality is whatever the licence says. The technical term for a person who reads a legal document and explains it to you is "a lawyer". I am not one of those persons.

  • Why is JSTL included with Java WSDP?

    Just out of curiosity, why is JSTL bundled with JWDSP? The new JSTL is very slick technology (especially the new EL support), but I don't see any direct applications of JSTL to web services. Since most service implementations aren't Beans (e.g., the accessor methods require arguments), I can't invoke a web service with <jsp:getProperty>, and there's nothing in the JSTL spec that addresses web services.
    Mike

    Here's the description of the Java WSDP:
    The JavaTM Web Services Developer Pack (Java WSDP) is an integrated toolset that in conjunction with the Java platform allows Java developers to build, test and deploy XML applications, Web services, and Web applications.
    In other words, the Java WSDP isn't only for Web services.

  • About  Java WSDP

    Hi!
    "The JavaTM Web Services Developer Pack (Java WSDP) software is supported on Windows 2000 and XP. In addition, the Java WSDP software can also be installed, but is unsupported, on Windows 95, 98, ME, and NT 4.0. "
    Does this means, that if I have Win '98 Installed it will not work, or it will work but not properly?
    I'm not surem because it stays that the pack could be installed. Why is it so if it will not work ?>

    Unsupported means, don't bother asking them for help if you experience problems. Also, don't be surprised if it doesn't work.

  • Exception occure when running bookstore2 JSP example from Java WSDP 1.1

    I am new to Java WSDP, and just downloaded 1.1 version and tried it with the tutorial.
    1. In section for populating pointbase database, tutorial says just "Enter ant. ... default Ant task create-book-db" will populate database. However, I couldn't get this working until I explicitly excute "ant create-book-db". Is there anything wrong here? Does it affect the rest of the tutorial?
    2. I managed to use '...\bookstore2\ant build' to compile the JSP version of the Bookstore, but I need help for installing it.
    Steps I took:
    start pointbase
    ...\web\ant create-books-db --- seems to be successful
    ...\web\bookstore2\ant build --- successful
    start Tomcat
    go to admin page and configured the dataSource
    ...\web\bookstore2\ant install ---- HELP! exceptions:
    install:
    [install] FAIL - Encountered exception java.io.IOException: java.lang.reflect.
    InvocationTargetException
    BUILD FAILED
    file:C:/Java/jwsdp-1.1/docs/tutorial/examples/web/bookstore2/build.xml:93: FAIL
    - Encountered exception java.io.IOException:
    java.lang.reflect.InvocationTargetException
    Really hope anyone can offer me some help, many many thanks.

    i have the same problem.................. boy.
    and now i have the answer for this problem. wait please.

  • Simple java/mysql database application question about triggers

    I am planning a new database application using java and mysql. I may want to use some triggers to automatically update the tables when a change is made. my question is this: If I write the trigger, and I use Java to modify the database, will java automatically pause and let the trigger finish doing its task before it continues? what if it writes more to the table before the trigger is finished modifying the table? how do I get java to pause and let the trigger finish?
    thanks for your response

    lduren wrote:
    I am planning a new database application using java and mysql. I may want to use some triggers to automatically update the tables when a change is made. my question is this: If I write the trigger, and I use Java to modify the database, will java automatically pause and let the trigger finish doing its task before it continues? what if it writes more to the table before the trigger is finished modifying the table? how do I get java to pause and let the trigger finish?
    It doesn't have anything to do with java at that point.
    When you execute, for example, an insert statement, then the database executes that statement. The database (not java, not the driver) decides with that statement is complete. Control returns to java when the database decides that execution is complete.
    And except for tricks that one might do (or attempt to do) via SQL or triggers then when the statement execution finishes then everthing has completed running.

  • Need help with Java, have a few questions about my Applet

    Purpose of the program: To create a mortgage calculator that will allow the user to input the loan principal then select 1 of 3 choices from a combo-box (7 years @ 5.35%, 15 years @ 5.50%, 30 years @ 5.75%).
    Problem: My program was working properly (so I thought). I can get the program to properly compile and run through TextPad. However, I noticed that when the user clicks the calculate more than once (with the same input), it slightly alters the output calculations. So that is my first question, Why is it doing that?  How can I get it only calculate that information once unless the user changes it etc?
    My next question is regarding my exit button. I was told by my instructor (who has already stated he won't help any of us) that my exit button does not work for an applet and only for an application. So, how can I create an exit button that will work with an applet? I thought I did it right but I can't find any resources online for this.
    Next question, why isn't my program properly validating invalid input? My program should only allow numeric input and nothing more.
    And last question, when invalid input is entered and the user clicks calculate, why isn't my JOptionPane window for error messages not displaying?
    I know my code is a little long so I have to post this in two messages. Please don't criticize me for what I am doing, that is why I am learning and have come to this forum for help. Thanks
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.*;
    import java.text.NumberFormat;
    import java.text.DecimalFormat;
    // Creating the main class
    public class test extends JApplet implements ActionListener
         // Defining of format information
         JLabel heading = new JLabel("McBride Financial Services Mortgage Calculator");
         Font newFontOne = new Font("TimesRoman", Font.BOLD, 20);
         Font newFontTwo = new Font("TimesRoman", Font.ITALIC, 16);
         Font newFontThree = new Font("TimesRoman", Font.BOLD, 16);
         Font newFontFour = new Font("TimesRoman", Font.BOLD, 14);
         JButton calculate = new JButton("Calculate");
         JButton exitButton = new JButton("Quit");
         JButton clearButton = new JButton("Clear");
         JLabel instructions = new JLabel("Please Enter the Principal Amount Below");
         JLabel instructions2 = new JLabel("and Select a Loan Type from the Menu");
         // Declaration of variables
         private double principalAmount;
         private JLabel principalLabel = new JLabel("Principal Amount");
         private NumberFormat principalFormat;
         private JTextField enterPrincipal = new JTextField(10);
         private double finalPayment;
         private JLabel monthlyPaymentLabel = new JLabel("  Monthly Payment    \t         Interest Paid    \t \t            Loan Balance");
         private NumberFormat finalPaymentFormat;
         private JTextField displayMonthlyPayment = new JTextField(10);
         private JTextField displayInterestPaid = new JTextField(10);
         private JTextField displayBalance = new JTextField(10);
         // Creation of the String of arrays for the ComboBox
         String [] list = {"7 Years @ 5.35%", "15 Years @ 5.50%", "30 Years @ 5.75%"};
         JComboBox selections = new JComboBox(list);
         // Creation of the textArea that will display the output
         private TextArea txtArea = new TextArea(5, 10);
         StringBuffer buff = null;
              Edited by: LoveMyAJ on Jan 19, 2009 1:49 AM

    // Initializing the interface
         public void init()
              // Creation of the panel design and fonts
              JPanel upper = new JPanel(new BorderLayout());
              JPanel middle = new JPanel(new BorderLayout());
              JPanel lower = new JPanel(new BorderLayout());
              JPanel areaOne = new JPanel(new BorderLayout());
              JPanel areaTwo = new JPanel(new BorderLayout());
              JPanel areaThree = new JPanel(new BorderLayout());
              JPanel areaFour = new JPanel(new BorderLayout());
              JPanel areaFive = new JPanel(new BorderLayout());
              JPanel areaSix = new JPanel(new BorderLayout());
              Container con = getContentPane();
              getContentPane().add(upper, BorderLayout.NORTH);
              getContentPane().add(middle, BorderLayout.CENTER);
              getContentPane().add(lower, BorderLayout.SOUTH);
              upper.add(areaOne, BorderLayout.NORTH);
              middle.add(areaTwo, BorderLayout.NORTH);
              middle.add(areaThree, BorderLayout.CENTER);
              middle.add(areaFour, BorderLayout.SOUTH);
              lower.add(areaFive, BorderLayout.NORTH);
              lower.add(areaSix, BorderLayout.SOUTH);
              heading.setFont(newFontOne);
              instructions.setFont(newFontTwo);
              instructions2.setFont(newFontTwo);
              principalLabel.setFont(newFontThree);
              monthlyPaymentLabel.setFont(newFontFour);
              displayInterestPaid.setFont(newFontFour);
              displayBalance.setFont(newFontFour);
              areaOne.add(heading, BorderLayout.NORTH);
              areaOne.add(instructions, BorderLayout.CENTER);
              areaOne.add(instructions2, BorderLayout.SOUTH);
              areaTwo.add(principalLabel, BorderLayout.WEST);
              areaTwo.add(enterPrincipal, BorderLayout.EAST);
              areaThree.add(selections, BorderLayout.NORTH);
              areaFour.add(calculate, BorderLayout.CENTER);
              areaFour.add(exitButton, BorderLayout.EAST);
              areaFour.add(clearButton, BorderLayout.WEST);
              areaFive.add(monthlyPaymentLabel, BorderLayout.CENTER);
              areaSix.add(txtArea, BorderLayout.CENTER);
              // Using the ActionListener to determine when each button is clicked
              calculate.addActionListener(this);
              exitButton.addActionListener(this);
              clearButton.addActionListener(this);
              enterPrincipal.requestFocus();
              selections.addActionListener(this);
         // The method that will perform specific actions defined below
         public void actionPerformed(ActionEvent e)
              Object source = e.getSource();
              buff = new StringBuffer();
              // Outcome of pressing the calculate button
              if (source == calculate)
                   // Used to call upon the user chosen selection
                   int selection = selections.getSelectedIndex();
                   // If statement to call upon Loan One's Method
                   if (selection == 0)
                        Double data = (Double)calculateLoanOne();
                        String sourceInput = data.toString();
                        displayMonthlyPayment.setText(sourceInput);
                        txtArea.setText(buff.toString());
                   // If statement to call upon Loan Two's Method
                   else if (selection == 1)
                        Double data = (Double)calculateLoanTwo();
                        String sourceInput = data.toString();
                        displayMonthlyPayment.setText(sourceInput);
                        txtArea.setText(buff.toString());
                   // If statement to call upon Loan Three's Method
                   else if (selection == 2)
                        Double data = (Double)calculateLoanThree();
                        String sourceInput = data.toString();
                        displayMonthlyPayment.setText(sourceInput);
                        txtArea.setText(buff.toString());
                   // Outcome of pressing the clear button
                   else if (source == clearButton)
                        enterPrincipal.setText("");
                        displayMonthlyPayment.setText("");
                        selections.setSelectedIndex(0);
                        txtArea.setText("");
                   // Outcome of pressing the quit button
                   else if (source == exitButton)
                        System.exit(1);
         // Method used to validate user input
         private static boolean validate(JTextField in)
              String inText = in.getText();
              char[] charInput = inText.toCharArray();
              for(int i = 0; i < charInput.length; i++)
                   int asciiVal = (int)charInput;
              if((asciiVal >= 48 && asciiVal <= 57) || asciiVal == 46)
              else
                   JOptionPane.showMessageDialog(null, "Invalid Character, Please Use Numeric Values Only");
                   return false;
                   return true;

  • Java.nio read/write question

    Hello,
    I just started to learn the java.nio package so I decided to make a simple Echo server. I made a client which reads a line from the keyboard, sends it to the server and the server returns it. It all works except one little detail. Here's little code from the server:
                                 int n = client.read(buffer);
                                 if ( n > 0)
                                     buffer.flip();
                                     client.write(buffer);
                                     Charset charset = Charset.forName("ISO-8859-1");
                                     CharsetDecoder decoder = charset.newDecoder();
                                     charBuffer = decoder.decode(buffer);
                                     System.out.println(charBuffer.toString());
                                     buffer.clear();
                                  }So that works, I send the data and then I receive it back. But only for the client. I also wanted the server to print the line which is the reason for the charset and the decoder. The above code however prints only a blank line. Thus I tried this:
                                 int n = client.read(buffer);
                                 if ( n > 0)
                                     buffer.flip();
                                     Charset charset = Charset.forName("ISO-8859-1");
                                     CharsetDecoder decoder = charset.newDecoder();
                                     charBuffer = decoder.decode(buffer);
                                     System.out.println(charBuffer.toString());
                                     client.write(buffer);
                                     buffer.clear();
                                  }Or in other words I just moved the write() part downwards. So far so good, now the server was actually printing the lines that the client was sending but nothing was sent back to the client.
    The question is how to make both, the send back line and the print line on the server side to work as intended. Also a little explanation why the events described above are happening is going to be more than welcome :)
    Thanks in advance!

    Strike notice
    A number of the regular posters here are striking in protest at the poor
    management of these forums. Although it is our unpaid efforts which make the
    forums function, the Sun employees responsible for them seem to regard us as
    contemptible. We hope that this strike will enable them to see the value
    which we provide to Sun. Apologies to unsuspecting innocents caught up in
    the cross-fire.

  • Java Programming Competition Sample Questions

    Hi,
    I am interested in participating the Java Programming Competition in my University. For pratice can you point me to some website with sample questions or any question u have in mind.
    Thanks
    Satish

    I was thinking of putting up on-forum competitions, winner gets dukes etc.
    Someone find an empty forum and we can get on it.

  • Java Script and JSF question

    Hello,
    I have a JSF component like this that has a pageSize attribute. It shows a grid with 5 elements.
    <x:gridView id="#{tab}GridView" pageSize="5">
    </f:gridView>Then I have a drop down with 5 menu items where the user can select how many elements they want to see visible on the grid. My question is, how do i use Java Script to to change the pageSize attribute above with what the user selected in the menu below? I have been looking at java script code and online docs for an hour and cant come up with anything that seems to work. Any help will be appriciated. Thank you!!!
    <x:selectOneMenu id="myMenu" onclick="">
      <f:selectItem id="perPage1" itemValue="1" itemLabel="1" />
      <f:selectItem id="perPage2" itemValue="2" itemLabel="2" />
      <f:selectItem id="perPage3" itemValue="3" itemLabel="3" />
      <f:selectItem id="perPage4" itemValue="4" itemLabel="4" />
      <f:selectItem id="perPage5" itemValue="5" itemLabel="5" />
    </x:selectOneMenu>

    [...]how it was never designed to be used for
    such large applications[...]All I can say is that if this is true, then it doesn't show. Yes, I know it (oak) was originally designed for embedded systems, but Java and Oak aren't identical.
    My assembly teacher
    always makes fun of Java, saying java gives you far
    less control, it prevents you from making mistakes.
    No control over unsigned/ signed values, pointers
    etc. Yes. But broadly speaking that's the point. Java sacrifices control over such things. The return, however, is that programmers are able to be more productive because of the great swathes of problems that can no longer arise.
    The mistake is in assuming that Java is the best tool for everything. It isn't, and in fact no language us. As it turns out, Java is just great for building enterprise systems. It has a few other strengths, some of which (applets for example) have been more important in its original uptake but are now relatively minor features.
    You don't write an enterprise website in Intel assembly, and you don't write device drivers in Java.
    Not saying its not good but its good for
    smaller applications like cell phones and
    mini-computers.I think you mean something different by mini-computers to what I mean...
    Its portability is actually the main point in its favour for use in cell phones. If it weren't for that, I think C or C++ would probably have sole ownership of that space.
    Now i'm not saying any thing against it just
    confused on why a class like data-structures at my
    University [...] would be taught using java when C would
    probably be a lot better for Very Large ADTS.You and Joel Spolsky:
    http://www.joelonsoftware.com/articles/ThePerilsofJavaSchools.html
    I disagree, because I don't think it much matters what language you learn - experience trumps any particular initial language choice. If you're still using Java in 15 years I'll be fairly surprised.

  • Astrology Java Program- a tough question

    I need someone to help me in my project...here is the question:
    Write an astrology program. The user types in his or her birthday(month,day,year),
    and the program responds with the user's zodiac sign, the traits associated with each sign
    the user's age(in years,months,day), the animal sign for the year(e.g., Year of the Pig,
    Year of the Tiger), the traits associated with each animal sign, and if the year is a leap
    year or not. The dates covered for each sign can be searched through the horoscope section
    of a newspaper or through the internet. Then enhance your program so that if the user is one
    or two days away from the adjacent sign, the program outputs the nearest adjacent sign as well
    as the traits associated with the nearest sign. The month may be entered as a number from 1 to 12
    or in words, i.e.,January to December. Limit the year of the birthday from 1900 to 2010 only.
    The program should allow the user to repeat the entire process as often as desired.
    You can use this imports:
    import java.text.DateFormat;
    import java.util.Date;
    import java.util.Calendar;
    thanks for your reply! I am hoping for your kind consideration!

    edit
    1. Please continue in your [_earlier thread_|http://forums.sun.com/thread.jspa?threadID=5429726], don't flood the forum with your homework assignment.
    2. Please confine your questions to the "New to Java" forum until such time as you can regard yourself as a Java Programmer.
    I'm locking this thread and it will be removed later.
    Edited by: DarrylBurke

Maybe you are looking for

  • For the first time, when I attach my hard drive to my macbook, it crashes and restarts

    For the first time since i started using my seagate hard drive, my macbook suddenly crashes whenever the hard drive is connected to it and it restarts itself. This is the error report i get. Can someone help me find a solution Process:         Mount

  • Trying to output HDCAM...

    So i have several QT clips that were shot with various frame rates....ranging from 24 to 60 frames. Some were shot using DVCPRO HD 720p 60i (see below): 1. DVCPRO HD 720p60, 960X720 23.98 fps 2. DV 720X480 29.97 fps 3. DVCPRO HD 720p60, 960X720 59.94

  • Missing Contacts in Outlook 2013

    I have an "incomplete" list of contacts on my Windows 8.1 laptop when compared to my Windows 7 desktop. The Outlook calendar is synced. I can correct information on a contact with my Win7 Outlook and it will be corrected on the Win8.1 laptop. But the

  • Resized and shrunk down image is distorted on ios/android

    It should be something very simple that just dont know.  When i proprtionally resize large image and display it on my mobile apps (ios & android) the image is slightly distorted and some smaller texts are little hard to read, or just doesnt look good

  • Installed Maverick - smart art no longer working on either Word or Excel Need Help

    Installed Maverick and found that on both Word and Excel the "Smart Art" no longer works.  I reinstlled software but that did not solve the problem. NEED HELP Thanks