Concurrency in Java EE

Why were JSR 236 [1] and JSR 237 [2] not included in the Java EE 6 specification [3], as originally planned [4]? It looks like there are plans to incorporate JSR 236 into the proposed Java EE 7 specification. What are the recommended alternatives for concurrency in Java EE until then?
[1] http://jcp.org/en/jsr/detail?id=236
[2] http://jcp.org/en/jsr/detail?id=237
[3] http://jcp.org/en/jsr/detail?id=316
[4] http://jcp.org/en/jsr/detail?id=316#2
[5] http://jcp.org/en/jsr/detail?id=342#2

Roberto Chinnici, the Java EE 6 spec lead, indicated in this tech cast [1] that JSR 236 and 237 did not make it into Java EE 6 due to "process issues," but indicated that it is high priority for Java EE 7.
[1] http://medianetwork.oracle.com/media/show/15085 (14:25)

Similar Messages

  • "Java Concurrent Program" java.lang.ClassNotFoundException:

    I am creating one Concurrent Program Type "Java Concurrent Program",
    I followed steps as notes "250964.1"
    Deployed the java file to specific Directory in $JAVA_TOP
    Bounce the apache.
    I am getting this issue?
    java.lang.ClassNotFoundException: oracle.apps.fnd.cp.sample.Hello
         at java.net.URLClassLoader.findClass(URLClassLoader.java:376)
         at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:442)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:502)
         at java.lang.Class.forName1(Native Method)
         at java.lang.Class.forName(Class.java:180)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    I am not getting this issue OA Framework Classes (CO, AM ....)
    Looking for this solution ? This is urgent to me.
    Let us know what may be issue?
    Thanks, Avaneesh

    Avaneesh,
    What do you mean by "
    I am not getting this issue OA Framework Classes (CO, AM ....)"?
    Did you test your java code on command line?
    --Shiv                                                                                                                                                                                                                                                                                                                           

  • How to run another concurrent from Java Concurrent Program?

    Hi,
    I have one Java Concurrent Program in ebs R12.
    I need to run another Java Concurrent Program when first finished.
    I can not find a way to start another request from JCP.
    Thanks,
    ms

    Hi ,
    this is an example code to check the OS before running the command :
    try{
    int ch;
    Process proc ;
    Runtime r=Runtime.getRuntime();
    StringBuffer sbuf = new StringBuffer();
    String dir = new String();
    String osname = System.getProperty("os.name");
    if(osname.equals("Windows NT") )
    proc = r.exec("cmd /c dir");
    if(osname.startsWith("Linux") )
    proc = r.exec("df -k");
    InputStream is = proc.getInputStream();
    while((ch=is.read() ) != -1)
    sbuf.append((char)ch);
    is.close();
    dir = sbuf.toString();
    System.out.println(dir );
    }catch(Exception e){ System.out.println(e.getMessage());}
    bye
    Taha

  • Concurrency in Java

    Im a college student who's taking concurrent programming in Java, and Oour first assignment goes a little like this...
    Write a text editor that supports concurrent access to a text file.
    The user should be able to run the editor multiple times on a single
    machine and open the same file for editing each time without generating error messages or corrupting the contents of the file. Each view of the file should be identical at all times.
    However, Im experienced in C++ only, with little Java experience.
    Can anyone with concurrency experience suggest how I can approach this problem(source code snippets, tips, concepts)?

    Wouldn't it be a more elegant solution to introduce ansynchronus processing by an event queue or a central message queue? By ensuring that all access to the file is via a process running on a server component reachable by any client this will solve the problems of concurrency and perhaps reduce perceived performance problems, (I don't write GUIs but I guess that this would be important ;->). Either that or redefine the requirements. What exactly does 'concurrent' mean in this context? Would a resynch every second suffice? How about every minute? How about just on save? Would it be enough for concurrent users to receive a message saying that the contents had been updated but then given the option to synch? It may be useful to stick this kind of stuff in the accompanying report even if you go for a different solution.

  • Help: Concurrent Processing Java Method every certain Time Interval

    Hello, I am creating a program to access a database after adding items to cart via UPC code. When adding items, the program accesses the database to get product name and price. The program needs to have functionality for when the database is down. In this instance, the main program will store all UPC codes in a temporary Array List of integers, and once connection is reestablised, reference all these items from the database and add them to the main program (showing name and price). I need help with a method to be invoked when connection originally goes down. This method needs to check for database connectivity every 10 seconds until connection is reestablished so that all items can be dumped from temporary Array List to database for retrieval. What can I use for concurrent processing to have a method running in the background to check for connectivity every 10 seconds (while allowing user to continue adding items to cart). I have messed with the thread.sleep( ) but I am left with no other functionalities (program freezes) when the waitForConnection( ) loop method is invoked. What can I use? Thanks for your input everyone.
    Message was edited by:
    Getzum4u2

    What's wrong with java.util.Timer and java.util.TimerTask?

  • Concurrency in Java Thread.

    Hello Friends,
    I need to create two threads and these threads should be run parallelly.
    I explain in detail.
    I have function1(). From that i will call func2(). Inside func2() i will start a Thread also call func3().
    Now i need to perform these processes from two different Threads with different Parameters.
    function1() {
    int i;
    func2();
    func2() {
    Thread t = new Thread();
    t.start();
    func3();
    func3() {
    I need to call function1() from a thread. At the same time i will call the same function1() with different parameters.
    Anybody knows the idea, please give your ideas please.
    Thanks in advance
    Rgds
    tskarthikeyan

    TSKarthikeyan wrote:
    Hello Friend,
    I explain below.
    Func1() {
    Func2();
    Func2() {
    Thread t3 = new Thread();
    t3.start();
    This is the functionality. Now i have to perform these steps from two different threads in parallel with different parameters.
    If i call these steps from two different Threads, then how it works. How can i implement that functionality. So that , Two Different Threads call the same function ie,Func1(). How this function works with two Different Threads.You're still not explaining very well, but if you want two different threads to call func1 with two different parameters, it'd be something like this.
    public class MyRunnable implements Runnable {
      private final SomeType param;
      public MyRunnable(SomeType param) {
        this.param = param;
      public void run() {
        somethingElse.func1(param);
    SomeType param1 = new SomeType();
    SomeType param2 = new SomeType();
    Runnable r1 = new MyRunnable(param1);
    Runnable r2 = new MyRunnable(param2);
    Thread t1 = new Thread(r1);
    Thread t2 = new Thread(r2);
    t1.start();
    t2.start();

  • Cannot import java.util.concurrent.locks ... WHY?

    Why is Xcode unable to find the java.util.concurrent.locks package. The class browser knows it exists. For example the entry for the ReentrantLock class looks like this in the browser class window:
    ReentrantLock (java.util.concurrent.locks)
    Xcode knows about other java.util packages such as java.util.ResourceBundle which I have been accessed successfully in other parts of my projecgt.
    Here is a source file and the resulting compiler error:
    The source file:
    // Foo.java
    import java.util.ResourceBundle;
    import java.util.concurrent.locks;
    public class Foo { }
    The compiler error:
    compile:
    Compiling 2 source files to /Users/Terry/Desktop/JAVA/PROJECTS/Logic/bin
    /Users/Terry/Desktop/JAVA/PROJECTS/Logic/src/Foo.java:3: cannot find symbol
    symbol : class locks
    location: package java.util.concurrent
    import java.util.concurrent.locks;
    ^
    1 error
    BUILD FAILED
    Help or hints would be greatly appreciated!

    Well the reason to your problem is very simple... java.util.concurrent.locks is a package... Not a class.
    if you want to import a specific class, the class should be written at the end like you did for import java.util.ResourceBundle; but if you want to import a whole package you need to add the little star at the end :
    import java.util.concurrent.locks.*;
    Or else, you only import the class you need :
    import java.util.concurrent.locks.ReentrantLock;

  • Java.util.concurrent.LinkedBlockingDeque: cannot find symbol

    Hello,
    I'm trying to use an existing java code into a JavaFX application. To do this, I copied all my sources into the fx project in Netbeans and I linked the needed libraries, but when I tried to compile all this, I got the following message:
    "cannot find symbol
    symbol : class LinkedBlockingDeque
    location: package java.util.concurrent
    import java.util.concurrent.LinkedBlockingDeque;"
    the problem is at that line: import java.util.concurrent.LinkedBlockingDeque;
    This is a native java class. Is it not supported in JavaFx? Is not java fully compatible with Fx? What's happening?
    Thank you in advance

    Please, create an issue on it with the detailed comments: [http://www.netbeans.org/issues/enter_bug.cgi?component=javafx|http://www.netbeans.org/issues/enter_bug.cgi?component=javafx]

  • Java.util.concurrent.XYZ and cloneable

    Hello!
    How come that collection classes in java.util.concurrent do not implement Cloneable?
    On 01.06.2004 there was a bug report on CopyOnWriteArraySet regarding this:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5055732
    However, on 02.06.2004 the cloneable support was removed from the JSR166 repository?!
    http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/main/java/util/concurrent/ConcurrentHashMap.java?rev=1.48&content-type=text/vnd.viewcvs-markup
    Best regards,
    Thomas

    Hello!
    How come that collection classes in java.util.concurrent do not implement Cloneable?
    On 01.06.2004 there was a bug report on CopyOnWriteArraySet regarding this:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5055732
    However, on 02.06.2004 the cloneable support was removed from the JSR166 repository?!
    http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/main/java/util/concurrent/ConcurrentHashMap.java?rev=1.48&content-type=text/vnd.viewcvs-markup
    Best regards,
    Thomas

  • Java concurrency benchmarks - need ideas

    Hi,
    I'm doing a little research about concurrency in Java for my University and have to make series of benchmarks.
    What is has to be done is a conclusions such like "yeah, ReentrantLock is good for more scalable locking, but if you need simple lock a non-nested block of code, it's better to use synchronized because of less overhead in today versions of JDK 5 and 6".
    In my benchmarks I'm trying to follow mostly JCIP book, doing for example performance measurements of concurrent collection classes by implementing for example producer-consumer pattern with various consumer load of work degree, various consumer threads number, etc. I've also measured overhead of locking (my previous post). I will also measure mean Thread creation and start() time taken.
    But I don't have idea for simple use-cases of concurrency, that will lead me to make conclusions like above. Have you got any ideas what should be measured?

    Find the "Java Concurrency in Practice" -book is has some of the performance discussion that you talk about. Might be some code samples on the books website http://jcip.net/

  • Re : Java error while opening WEBI Report in BO 4.1

    Hi Team,
    while opening webi report i am getting folowing error
    java.util.concurrent.ExecutionException: java.lang.NullPointerException
    at java.util.concurrent.FutureTask.report(Unknown Source)
    at java.util.concurrent.FutureTask.get(Unknown Source)
    at javax.swing.SwingWorker.get(Unknown Source)
    at com.sap.webi.toolkit.ui.tasks.WebITask.getResult(WebITask.java:171)
    at com.sap.webi.ui.tasks.NavigOnDocumentTask.doneProcess(NavigOnDocumentTask.java:95)
    at com.sap.webi.toolkit.ui.tasks.WebITask$PrivateWorker.done(WebITask.java:378)
    at javax.swing.SwingWorker$5.run(Unknown Source)
    at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
    at sun.swing.AccumulativeRunnable.run(Unknown Source)
    at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
    at javax.swing.Timer.fireActionPerformed(Unknown Source)
    at javax.swing.Timer$DoPostEvent.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.WaitDispatchSupport$2.run(Unknown Source)
    at java.awt.WaitDispatchSupport$4.run(Unknown Source)
    at java.awt.WaitDispatchSupport$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.WaitDispatchSupport.enter(Unknown Source)
    at java.awt.Dialog.show(Unknown Source)
    at com.jidesoft.dialog.StandardDialog.show(Unknown Source)
    at java.awt.Component.show(Unknown Source)
    at java.awt.Component.setVisible(Unknown Source)
    at java.awt.Window.setVisible(Unknown Source)
    at java.awt.Dialog.setVisible(Unknown Source)
    at com.sap.webi.toolkit.ui.dialog.MessageDialog.setVisible(MessageDialog.java:186)
    at com.sap.webi.ui.SwingClientHelper.showWarning(SwingClientHelper.java:493)
    at com.sap.webi.ui.context.managers.DataManager.checkForEmptyDataProviders(DataManager.java:2592)
    at com.sap.webi.ui.tasks.workflows.RefreshWorkspaceWorkflow$1.run(RefreshWorkspaceWorkflow.java:147)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
    at com.sun.deploy.security.CPCallbackHandler.isAuthenticated(Unknown Source)
    at com.sun.deploy.security.CPCallbackHandler.access$1600(Unknown Source)
    at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.businessobjects.rebean.wi.impl.model.viewing.ReportEngineOutputSourceFactory.createReportElementPageOutputSource(ReportEngineOutputSourceFactory.java:72)
    at com.businessobjects.rebean.wi.impl.services.NavigationServiceImpl.internalNavigateToReportElement(NavigationServiceImpl.java:313)
    at com.businessobjects.rebean.wi.impl.services.NavigationServiceImpl.navigateToReportElement(NavigationServiceImpl.java:105)
    at com.businessobjects.rebean.wi.app.ViewingFacade.navigateToReportElement(ViewingFacade.java:208)
    at com.sap.webi.ui.viewer.PageFactory.getPages(PageFactory.java:634)
    at com.sap.webi.ui.viewer.PageFactory.getPages(PageFactory.java:196)
    at com.sap.webi.ui.tasks.NavigOnDocumentTask.doIt(NavigOnDocumentTask.java:68)
    at com.sap.webi.ui.tasks.NavigOnDocumentTask.doIt(NavigOnDocumentTask.java:23)
    at com.sap.webi.toolkit.ui.tasks.WebITask$PrivateWorker.doInBackground(WebITask.java:348)
    at javax.swing.SwingWorker$1.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at javax.swing.SwingWorker.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Any ideas please,
    Thanks & Regards,
    Varun G

    "...at com.sap.webi.ui.tasks.NavigOnDocumentTask.doIt(NavigOnDocumentTask.java:23) at com.sap.webi.toolkit.ui.tasks.WebITask$PrivateWorker.doInBackground(WebITask.java:348)" Please check out SAP KB 2115770 - Error encountered when opening a Web Intelligence document reporting off of SAP BW BEx queries and Universes in BI 4.1 SP05 on http://service.sap.com/sap/support/notes/2115770. The resolution can be found on BI4.1 SP05 Patch 03 and above. Hope this helps, Jin-Chong

  • How to proces the record in Table with multiple threads using Pl/Sql & Java

    I have a table containing millions of records in it; and numbers of records also keep on increasing because of a high speed process populating this table.
    I want to process this table using multiple threads of java. But the condition is that each records should process only once by any of the thread. And after processing I need to delete that record from the table.
    Here is what I am thinking. I will put the code to process the records in PL/SQL procedure and call it by multiple threads of Java to make the processing concurrent.
    Java Thread.1 }
    Java Thread.2 }
    .....................} -------------> PL/SQL Procedure to process and delete Records ------> <<<Table >>>
    Java Thread.n }
    But the problem is how can I restrict a record not to pick by another thread while processing(So it should not processed multiple times) ?
    I am very much familiar with PL/SQL code. Only issue I am facing is How to fetch/process/delete the record only once.
    I can change the structure of table to add any new column if needed.
    Thanks in advance.
    Edited by: abhisheak123 on Aug 2, 2009 11:29 PM

    Check if you can use the bucket logic in your PLSQL code..
    By bucket I mean if you can make multiple buckets of your data to be processed so that each bucket contains the different rows and then call the PLSQL process in parallel.
    Lets say there is a column create_date and processed_flag in your table.
    Your PLSQL code should take 2 parameters start_date and end_date.
    Now if you want to process data say between 01-Jan to 06-Jan, a wrapper program should first create 6 buckets each of one day and then call PLSQL proc in parallel for these 6 different buckets.
    Regards
    Arun

  • Unchecked Exception using 1.5 Concurrent Libraries

    Sorry to post this here, but it IS related to generics. I'm either doing something wrong, or the concurrent libraries are missing some methods in the ThreadPoolExecutor class.
    I'll try and be brief. When I compile my multi-threaded application with lint on, I get the following error:
    "TransactionsByStore.java:309: warning: [unchecked] unchecked conversion
    found : java.util.concurrent.LinkedBlockingQueue
    required: java.util.concurrent.BlockingQueue<java.lang.Runnable>
    threadPool = new ThreadPoolExecutor(threadCount, threadCount, threadTimeout, TimeUnit.SECONDS, threadQueue);"
    The problem is my "threadQueue" class. It is of type LinkedBlockingQueue<java.util.concurrent.Callable> since Callable allows the class to return something from the "call" method. It appears that most classes in the concurrent libraries prefers Callable classes over Runnable, but the constructor for a ThreadPoolExecutor appears to only accept a thread queue that holds Runnables. That doesn't seem correct.
    Does anyone know if there is something that I am doing wrong here, or is this just a current limitation of the ThreadPoolExecutor class?
    Thanks.

    The problem is my "threadQueue" class. It is of type
    LinkedBlockingQueue<java.util.concurrent.Callable>
    since Callable allows the class to return something
    from the "call" method. It appears that most classes
    in the concurrent libraries prefers Callable classes
    over Runnable, but the constructor for a
    ThreadPoolExecutor appears to only accept a thread
    queue that holds Runnables. That doesn't seem
    correct.
    Does anyone know if there is something that I am
    doing wrong here, or is this just a current
    limitation of the ThreadPoolExecutor class?OK, so I just did some reading and I now better understand the context of your question:
    * ThreadPoolExecutor is an ExecutorService, not just an Executor, so it handles Callables in addition to Runnables
    * You're taking the slightly unusual step of constructing your own instance, presumably because you've determined none of the predefined ExecutorServices that the Executors factory class creates are suitable for your task?
    * As you wish to use the ThreadPoolExecutor to execute Callables, you want to know why the constructor takes BlockingQueue<Runnable> rather than BlockingQueue<Callable>
    So firstly, this question really has nothing to do with generics. Callable isn't a Runnable and as such there's no way you're ever going to be able to pass a BlockingQueue<Callable> into this method. Therefore it's a question about the design of the concurrency libraries. As such you'll probably get much better quality answers in a forum dedicated to that subject.
    Having said that:
    From what I see the ExecutorService.submit() methods that support Callables are all implemented in the AbstractExecutorService class that is the superclass for ThreadPoolExecutor.
    So I read the source code for that class. Turns out every Callable passed to submit() is wrapped in a FutureTask, which is a class that imlements Future<V> and Runnable. This makes perfect sense if you think about it - given that this ExecutorService executes things asynchronously, clearly a Future<V> is required if you want to be able to actually get at the result.
    Thus since Callables are wrapped in a class that's Runnable inside the ExecutorService, that's how it is able to handle Callables using a BlockingQueue<Runnable>.
    So... is it important to you that the queue you pass in is a BlockingQueue<Callable> or can you simply make it a BlockingQueue<Runnable>?
    You're never going to be able to constrain the type of the BlockingQueue to be anything stricter than Runnable, BTW. This is because the ThreadPoolExecutor executes Runnables as well as Callables, so if you were allowed to pass in a BlockingQueue<FutureResult> (for example) then it wouldn't work because the execute(Runnable) method wouldn't be able to add the Runnable to the queue without wrapping it in a spurious FutureResult.

  • Error 500 and Java Error after BOBJ 4.0 installation

    Hi,
    I have installed BOBJ 4.0 and I have also installed SP 1 and SP 2 with FP up to 10.
    Now when I tried to launch CMC or BI Launch Pad I get following error. Following error started appearing after unsuccessful single sign on and SP updates.
    http status 500 - com.wedgetail.idm.sso.protocolexception: com.wedgetail.idm.spnego.server.spnegoexception: com.dstc.security.util.asn1.asn1exception: bad tag encountered: 78
    I am also getting some Java and DSL error when I launch client tool Interactive Analysis Desktop.
    I get long error messages
    java.utl.concurrent.executionexception: Java.lan.NullPointerException
    At com.sap...
    at java.awt.EventDispatch ...
    etc
    and when i click ok blakl Interactive Analysis Desktop screen appears.
    I installed BI 4.0 in Windows environment.
    I will appreciate your help.
    Thanks

    Sonia Amin wrote:
    Hello,
    >
    > Kindly do the following and see if it works:
    >
    > 1.Stop Tomcat
    > 2. Deleted the content within the localhost of work directory inside tomcat folder. ( ex. folders under \installation drive\Business Objects\Tomcat6\work\Catalina\localhost)
    > 3. Restart the tomcat.
    > 4. Wait till the localhost folder is repopulated.
    >
    > Try the link now.
    >
    > Regards
    > Sonia
    Hi Sonia,
    Just tested the suggested steps, but alas - same error.
    Regards,

  • Packages in Java

    Hi Guys,
    I'm new in java world, and I have some questions, if anybody can help me plz.
    1- The packages in java such java.sql and so on where we can downlad it?
    2- How to add these packages to work with java?
    Thanks

    The following packages are already bundled with the jdk or jre you downloaded and installed:
    java.applet
    java.awt
    java.awt.color
    java.awt.datatransfer
    java.awt.dnd
    java.awt.event
    java.awt.font
    java.awt.geom
    java.awt.im
    java.awt.im.spi
    java.awt.image
    java.awt.image.renderable
    java.awt.print
    java.beans
    java.beans.beancontext
    java.io
    java.lang
    java.lang.annotation
    java.lang.instrument
    java.lang.management
    java.lang.ref
    java.lang.reflect
    java.math
    java.net
    java.nio
    java.nio.channels
    java.nio.channels.spi
    java.nio.charset
    java.nio.charset.spi
    java.rmi
    java.rmi.activation
    java.rmi.dgc
    java.rmi.registry
    java.rmi.server
    java.security
    java.security.acl
    java.security.cert
    java.security.interfaces
    java.security.spec
    java.sql
    java.text
    java.text.spi
    java.util
    java.util.concurrent
    java.util.concurrent.atomic
    java.util.concurrent.locks
    java.util.jar
    java.util.logging
    java.util.prefs
    java.util.regex
    java.util.spi
    java.util.zip
    javax.accessibility
    javax.activation
    javax.activity
    javax.annotation
    javax.annotation.processing
    javax.crypto
    javax.crypto.interfaces
    javax.crypto.spec
    javax.imageio
    javax.imageio.event
    javax.imageio.metadata
    javax.imageio.plugins.bmp
    javax.imageio.plugins.jpeg
    javax.imageio.spi
    javax.imageio.stream
    javax.jws
    javax.jws.soap
    javax.lang.model
    javax.lang.model.element
    javax.lang.model.type
    javax.lang.model.util
    javax.management
    javax.management.loading
    javax.management.modelmbean
    javax.management.monitor
    javax.management.openmbean
    javax.management.relation
    javax.management.remote
    javax.management.remote.rmi
    javax.management.timer
    javax.naming
    javax.naming.directory
    javax.naming.event
    javax.naming.ldap
    javax.naming.spi
    javax.net
    javax.net.ssl
    javax.print
    javax.print.attribute
    javax.print.attribute.standard
    javax.print.event
    javax.rmi
    javax.rmi.CORBA
    javax.rmi.ssl
    javax.script
    javax.security.auth
    javax.security.auth.callback
    javax.security.auth.kerberos
    javax.security.auth.login
    javax.security.auth.spi
    javax.security.auth.x500
    javax.security.cert
    javax.security.sasl
    javax.sound.midi
    javax.sound.midi.spi
    javax.sound.sampled
    javax.sound.sampled.spi
    javax.sql
    javax.sql.rowset
    javax.sql.rowset.serial
    javax.sql.rowset.spi
    javax.swing
    javax.swing.border
    javax.swing.colorchooser
    javax.swing.event
    javax.swing.filechooser
    javax.swing.plaf
    javax.swing.plaf.basic
    javax.swing.plaf.metal
    javax.swing.plaf.multi
    javax.swing.plaf.synth
    javax.swing.table
    javax.swing.text
    javax.swing.text.html
    javax.swing.text.html.parser
    javax.swing.text.rtf
    javax.swing.tree
    javax.swing.undo
    javax.tools
    javax.transaction
    javax.transaction.xa
    javax.xml
    javax.xml.bind
    javax.xml.bind.annotation
    javax.xml.bind.annotation.adapters
    javax.xml.bind.attachment
    javax.xml.bind.helpers
    javax.xml.bind.util
    javax.xml.crypto
    javax.xml.crypto.dom
    javax.xml.crypto.dsig
    javax.xml.crypto.dsig.dom
    javax.xml.crypto.dsig.keyinfo
    javax.xml.crypto.dsig.spec
    javax.xml.datatype
    javax.xml.namespace
    javax.xml.parsers
    javax.xml.soap
    javax.xml.stream
    javax.xml.stream.events
    javax.xml.stream.util
    javax.xml.transform
    javax.xml.transform.dom
    javax.xml.transform.sax
    javax.xml.transform.stax
    javax.xml.transform.stream
    javax.xml.validation
    javax.xml.ws
    javax.xml.ws.handler
    javax.xml.ws.handler.soap
    javax.xml.ws.http
    javax.xml.ws.soap
    javax.xml.ws.spi
    javax.xml.xpath
    org.ietf.jgss
    org.omg.CORBA
    org.omg.CORBA_2_3
    org.omg.CORBA_2_3.portable
    org.omg.CORBA.DynAnyPackage
    org.omg.CORBA.ORBPackage
    org.omg.CORBA.portable
    org.omg.CORBA.TypeCodePackage
    org.omg.CosNaming
    org.omg.CosNaming.NamingContextExtPackage
    org.omg.CosNaming.NamingContextPackage
    org.omg.Dynamic
    org.omg.DynamicAny
    org.omg.DynamicAny.DynAnyFactoryPackage
    org.omg.DynamicAny.DynAnyPackage
    org.omg.IOP
    org.omg.IOP.CodecFactoryPackage
    org.omg.IOP.CodecPackage
    org.omg.Messaging
    org.omg.PortableInterceptor
    org.omg.PortableInterceptor.ORBInitInfoPackage
    org.omg.PortableServer
    org.omg.PortableServer.CurrentPackage
    org.omg.PortableServer.POAManagerPackage
    org.omg.PortableServer.POAPackage
    org.omg.PortableServer.portable
    org.omg.PortableServer.ServantLocatorPackage
    org.omg.SendingContext
    org.omg.stub.java.rmi
    org.w3c.dom
    org.w3c.dom.bootstrap
    org.w3c.dom.events
    org.w3c.dom.ls
    org.xml.sax
    org.xml.sax.ext
    org.xml.sax.helpers
    kind regards,
    Jos

Maybe you are looking for