Cloudscape & Java Studio Creator - Need Connection URL for toursDB

Has anyone been able to create a data source and connect to the bundled demo databases in the default Cloudscape installation (sample or toursDB) with Java Studio Creator on MacOS X.
I have Cloudscape running ok and I have Java Studio Creator running and I added the "derby.jar" and "derbytools.jar" files to the jar list in Java Studio creator but I'm not sure what the connection URL should be to connect to the example databases.

Well, I think I now to having everything working!! I was able to connect to one of the sample Clouldscape databases (bundled with the Cloudscape 10.0 distribution in SJCS) - I had to do the following
--- 1 --- After downloading a Java tool called DbVisualizer Free 4.1.1 and reviewing its documentation I was able to discover how to set an essential Java System Property for it as well as Sun Java Studio Creator on MacOS X. The property was derby.storage.fileSyncTransactionLog=true. This was needed to work around an Apple Java VM problem by bypassing code that uses write sync (rws) mode. The info for this is on the Apache site at: http://www.ibm.com/Search?q=Cloudscape+failures+on+Mac&v=14?=en&cc=zz&Search.x=47&Search.y=10 and the info for setting system properties on "double clickable Java Apps" on MacOS X can be found at: http://www.dbvis.com/products/dbvis/doc/4.1.1/doc/ug/admin/admin.html
--- 2 --- Using the tool in *1* above I then actually got it to connect to an existing sample bundled Cloudscape database using the following connection URL jdbc:derby:/pathToTheDatabaseDirectory (needed to add the path to the URL) and the userID and Password as user1,user1 for reasons stated in the following forum link http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?forum=370&thread=66046. I also used the driver class org.apache.derby.jdbc.EmbeddedDriver.
--- 3 --- Finally, using the config info I used in *2* above I then used the following settings in Sun Java Studio Creator
DataSource Settings Panel Fields set as follows (for Cloudscape 10.0 installation)
DisplayName ---> Cloudscape
JDBC Driver Jar Files ---> derby.jar
Driver Class Name ---> org.apache.derby.jdbc.EmbeddedDriver
URL Template ---> jdbc:derby:
And then......Add Data Source panel fields set as follows
---DataSourceName --> datasource1
---ServerType____ Cloudscape
---HostName ---> left this blank
UserID -> user1
---Password ---> user1
---DatabaseURL ---> jdbc:derby:/Applications/IBM/Cloudscape_10.0/derbyDB
---DriverClass ---> org.apache.derby.jdbc.EmbeddedDriver
thanks for your help. I had been able to connect to Cloudscape programmatically (which your blog documents well), but getting the Sun Java Studio Creator (SJSC) IDE configured for Cloudscape wasn't obvious. Hopefully the above info in *1* and *3* will help anyone using the SJSC IDE on MacOS X. The DbVisualizer Free 4.1.1 is a slick tool I discovered along the way as well.

Similar Messages

  • Cloudscae & Java Studio Creator - Need Connection URL for toursDB

    Has anyone been able to create a data source and connect to the bundled demo databases in the default Cloudscape installation (sample or toursDB) with Java Studio Creator on MacOS X.
    I have Cloudscape running ok and I have Java Studio Creator running and I added the "derby.jar" and "derbytools.jar" files to the jar list in Java Studio creator but I'm not sure what the connection URL should be to connect to the example databases.

    1. load up the embedded driver.
    2. use jdbc:derby:toursDB as the database URL.

  • Java Studio Creator and JDK

    I'm trying to create a game application using java and i've downloaded both java studio creator and JDK. However i'm having problems of writing the program. Should i use notepad and compile it using JDK? Or can i simply use the java studio creator and type in my java codings? And i cant seem to type in any codings in the java studio creator.
    Can someone help me please? Thank you.
    Message was edited by:
    burpyjac

    Hello, Burpyjac!
    I don't understand what you want to do exactly. If you would like to write an applet for a website maybe Java Studio Creator is not what you want, it's an IDE for developing web applications running in an application server like Glassfisch, SJSAS, Tomcat and the like.
    If your game need animation, drawings in a panel and the like you would need another IDE like Netbeans for example to develop an applet. Of course you can just use Notepad, but a IDE like Netbeans is much more comfortable (syntax highlighting, project managment, debugging).
    Java Studio Creator is an IDE for web applications and it is based on Netbeans (if you saw both you will notice). If your game can live without graphics maybe you can use it - but be aware that this applications do not run alone, you need an application server.
    Cheers,
    Jan

  • Problem installing sun java studio creator

    I have downloaded the installable for sun java studio creator 2 update 1 for windows platform. I am unable to install the package. Following is the error Iog I get, when used in debug mode(Notice the last part ErrOut indicating the error). What is going wrong ?
    file type: 0
    file id: 0
    length: 178
    offset: 319579
    file name: instructions.txt
    file type: 5
    file id: 1
    length: 1009
    offset: 319757
    file name: Verify.jar
    file type: 2
    file id: 2
    length: 729
    offset: 320766
    file name: launch.txt
    file type: 4
    file id: 3
    length: 16766119
    offset: 321495
    file name: Windows-Sun-1.4.2_04.exe
    file type: 6
    file id: 4
    length: 249333158
    offset: 17087614
    file name: windows.jar
    Executing launch script command: "C:\DOCUME~1\JATINK~1\LOCALS~1\Temp\LRE5.tmp/bin\java.exe" -cp "";"C:\DOCUME~1\JATINK~1\LOCALS~1\Temp\LRE6.tmp\windows.jar";"" -Dtemp.dir="C:\DOCUME~1\JATINK~1\LOCALS~1\Temp" -Dis.jvm.home="C:\DOCUME~1\JATINK~1\LOCALS~1\Temp\LRE5.tmp" -Dis.jvm.temp="1" -Dis.media.home="C:\DOCUME~1\JATINK~1\LOCALS~1\Temp\LRE6.tmp\windows.jar" -Dis.launcher.file="D:\installables\Java Studio Creator\creator-2_1-windows-ml.exe" -Dis.jvm.file="C:\DOCUME~1\JATINK~1\LOCALS~1\Temp\LRE5.tmp\jvm" -Dis.external.home="D:\installables\Java Studio Creator" -Xms20m -Xmx60m run in working directory D:\installables\Java Studio Creator
    Output from the launch script execution
    StdOut:
    ErrOut:
    Assertion failed: errno == 0 && count == (size_t) size, file ../../../src/share/native/sun/awt/font/fontmanager/fontobjects/fontObject.cpp, line 506
    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application's support team for more information.

    Hi Soumik,
    Here is the URL to the Sun Java Studio Creator Forum: http://swforum.sun.com/jive/forum.jspa?forumID=123
    I apologize for missing out on giving the link in my previous post.
    Thanks
    Giri :-)

  • Error installing sun java studio creator

    I have downloaded the installable for sun java studio creator 2 update 1 for windows platform. I am unable to install the package. Following is the error Iog I get, when used in debug mode(Notice the last part ErrOut indicating the error). What is going wrong ?
    file type: 0
    file id: 0
    length: 178
    offset: 319579
    file name: instructions.txt
    file type: 5
    file id: 1
    length: 1009
    offset: 319757
    file name: Verify.jar
    file type: 2
    file id: 2
    length: 729
    offset: 320766
    file name: launch.txt
    file type: 4
    file id: 3
    length: 16766119
    offset: 321495
    file name: Windows-Sun-1.4.2_04.exe
    file type: 6
    file id: 4
    length: 249333158
    offset: 17087614
    file name: windows.jar
    Executing launch script command: "C:\DOCUME~1\JATINK~1\LOCALS~1\Temp\LRE5.tmp/bin\java.exe" -cp "";"C:\DOCUME~1\JATINK~1\LOCALS~1\Temp\LRE6.tmp\windows.jar";"" -Dtemp.dir="C:\DOCUME~1\JATINK~1\LOCALS~1\Temp" -Dis.jvm.home="C:\DOCUME~1\JATINK~1\LOCALS~1\Temp\LRE5.tmp" -Dis.jvm.temp="1" -Dis.media.home="C:\DOCUME~1\JATINK~1\LOCALS~1\Temp\LRE6.tmp\windows.jar" -Dis.launcher.file="D:\installables\Java Studio Creator\creator-2_1-windows-ml.exe" -Dis.jvm.file="C:\DOCUME~1\JATINK~1\LOCALS~1\Temp\LRE5.tmp\jvm" -Dis.external.home="D:\installables\Java Studio Creator" -Xms20m -Xmx60m run in working directory D:\installables\Java Studio Creator
    Output from the launch script execution
    StdOut:
    ErrOut:
    Assertion failed: errno == 0 && count == (size_t) size, file ../../../src/share/native/sun/awt/font/fontmanager/fontobjects/fontObject.cpp, line 506
    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application's support team for more information.

    Hi,
    Which version of windows are you using? which jdk? Did you have any conflicting products installed earlier.
    have you checked the install faqs?
    http://developers.sun.com/prodtech/javatools/jscreator/reference/faqs/index.jsp
    Thanks
    K

  • Can I do this with Java Studio Creator?

    I want to create a web site for people to download my original music. Is Java Studio Creator a good tool for something like this or is there something better for this type of endeavor?

    Thank you for the information. I envision it being sort of a shopping cart operation where possibly the client could create their own album of songs from several choices of 2 minute snippets. I also see possibly donating 10% of cost to charity of client's choice. Not sure how that would go.
    I already have Dreamweaver 4. Maybe I should just use that? Java Studio Creator looked good because I want to learn more Java for my job anyway. And it is not as proprietary. Also the price is right. Jim

  • Differences between Java Studio Creator and any other JSF IDE

    Hi Guys,
    I found that JSF code created when we use Studio Creator is Rave
    while as if we use Bea Workshop Studio/Any Other Eclipse IDE for JSF is MyFaces ( whatever it may be).
    What are the differences between these two? which one is better ?
    I get confused why there are two different framework of JSF?
    And I dont think there is any other IDE who supports Rave other than Java Studio Creator?
    Thx.

    Apologies for the late reply, but currently what exists generally for MyFaces integration with Creator is on this blog:
    http://wiki.java.net/bin/view/Javatools/CustomComponentLibraries
    You might also want to post the same question on the nbusers alias on netbeans.org, referencing Visual Web Pack
    Regards,
    -Brad Mayer

  • Help needed with Sun Java Studio Creator and EJB in a Portlet Project

    Hi
    I have created an web-application with JSF in Sun Java Studio Creator 2. The web application uses a lot of EJB's which acts as the dataProviders. In a typical jsp page i have more that one data providers(the EJB's) getting used. When i run the project everything opens up properly in the browser and the application seems to be fine.
    But when i create a JSP 168 Portlet project and do exactly the same thing for some reason the Apache Pluto(comes as the default Portlet Container with Studio Creator) conks off.
    Then i started going ahead step by step:
    1. First i created a portletpage and added only one dataProvider(EJB) and ran the project...It gets deployed properly in Pluto and the browser comes up and everything shows up fine.
    2. Just to re-confirm i did the same thing with another dataProvider(EJB). So still we have just 1 EJB in the portlet page. As expected it also worked fiine.
    3. Then when I added more that one dataProviders(EJBs) in the porlet page the Apache Pluto conks off(saying that Pluto is not available)
    I tried doing a lot of things but nothing works...Surprisingly the same thing works when u create a JSF web Application project but the same thing does not work when u create a JSR 168 JSF Portlet Project...
    Did anybody face the same problem..Is it a bug in the Studio Creator...Any help would be highly appreciated.

    Hi,
    There are a few discussion threads in the feedbackprograms portal for Creator 2 EA 2. The URL is:
    https://feedbackprograms.sun.com/login.html
    In the EA discussion forum you will find threads which discuss the concerned topic. In specific look for threads titled:
    # Deploying Portlets
    # Taking a JSC Portlet to Tomcat creates a Faces Mapping Error
    # Problem with Pluto when trying to deploy a portlet
    # Request: JSR-168 Portlet Project without JSF
    We kindly request you to post your further queries related to EA in the above mentioned forum.
    Cheers
    Giri

  • Is Java Studio Creator only for very little projects?

    Hi
    I'm developing a large program with about 100-pages. I found terrible to navigate by ApplicationOutline, Property Binding and Page Navigation.
    1. ApplicationOutline should show subfolder structure hierarchically
    2. Property Binding should open the page of the binding element, and hierarchical property should be alphabetically sorted
    3. Graphical Page Navigation is just a game. I need only a tree view with add/delete management
    of navigation-rule
    Thanks
    Nicola Grippaldi

    "Sun Java Studio Creator 2, Early Access
    Please be aware of the following issues:
    * There are a number of known issues with the Refactoring feature.
    Before using it:
    - Make a backup of your project
    - Read the full Release Notes referenced below
    * Avoid using subfolders for your web pages.
    * You might have deployment problems, such as:
    - OutOfMemory exceptions
    - Theme switching not taking effect
    - Some other deployment failure
    If you do have these deployment problems, then:
    1) Undeploy.
    2) Stop the Application Server.
    2) Clean the build.
    3) Start the Application Server and redeploy.
    * Projects created in Creator 1.0 can be imported, but you cannot
    use the new components on the imported pages. We are investigating
    creating a conversion utility to the new page structure.
    The Sun Java Studio Creator 2 Installation and Release Notes provides
    information on installing and uninstalling the product and describes
    known bugs and issues. The document is located at:
    http://developers.sun.com/prodtech/javatools/jscreator/ea/jsc2/reference/docs/Installation_ReleaseNotes-ea.html
    Thank you for evaluating our Early Access release."
    This is the content of the README.html.
    Creator is only a preview and you should not try to use it with large web sites. The tool has so many bugs and performance lacks, many features seem not to be tested by Sun that it would be a waste of time.

  • I need help with setting up my Sun Java Studio Creator

    Hello all, i need help with setting up the Studio Creator, i"m new to all that staff so is there anyone to help me just a little with all that if yes email me at [email protected] or get me on AOL Instant Messanger with the screen name: wretch17
    thanks :-)

    Hi,
    Welcome to the Creator community! Thanks for your interst in Sun Java Studio Creator. Please feel free to post any question related to creator on this forum .
    Take a look the creator website at
    http://developers.sun.com/prodtech/javatools/jscreator/
    CreatorTeam

  • Help Needed-Connection Url String for Oracle8i

    DriverManager.getConnection(Url , username ,password);
    In the above , I need the connection url for Oracle8i Database.
    Thanks..

    This works for me:
    jdbc:oracle:thin:@HOST:1521:INSTANCE
    Where HOST and INSTANCE represent the machine running oracle and DB instance. 1521 is the default port but may be changed.
    Mike

  • Directory JFileChooser for Java Studio Creator

    Hello,
    I need a way to browse and select directories from my Java Studio Creator JSP pages. The only thing I can find is the multipart form file upload stuff. But that does not allow me to just pick a directory. Does anyone know of any way to do this?
    Thanks,
    Jeff

    An applet can.
    I made one to allow unlimited fileuploads(at the same time) to the server. I know you can buy them but hey, it was fun.
    Jonathan.

  • Need to improve Java Studio Creator performance

    Can anyone has a suggestion on how to improve the performance of Java Studio Creator? JSC works fine when you have a less than 50 java files but when your building a large project JSC IDE works slow in terms of loading the whole project, modify the page in design layout, drag and drop a component or even modifying some java codes.The PC had a 2 GB memory. I'm grateful for any suggestion you can give. :D

    Hello, i supossed u r using Windows right?, and running in a x86 machine?. Ok well, even Windows XP is not so "Strong" enough to run Creator with a decent performance, i can say this because i have at home a PC Windows XP Pro, Intel Core 2 Duo Processor, 2 GB RAM, and HD Seagate Barracuda 120 GB ATA and Creator Still hangs some time, my suggestion is:
    Install Solaris in your pc, I've installed Solaris 10 11/6 in the pc ans runs great (the x86 vesion). I have a Sun Ultra 20 with 1GB RAM and 3 projects at work with more than 150 pages and works fine.
    Belthazor

  • Sample java studio creator application for displaying in three languages

    please send me a sample web application in java studio creator which should consists of hyperlinks to display web application in three languages french german and engish when i click on the hyperlink

    please send me a sample web application in java studio creator which should consists of hyperlinks to display web application in three languages french german and engish when i click on the hyperlink

  • Using Servlets in java studio creator

    Hello, anyone can tell me how can i use a servlet in java studio creator, due the file is in .java i dont know how to use it, here is an example i want to add to my proyect:
    and other question is how can i make to work?
    * Sean C. Sullivan
    * June 2003
    * URL: http://www.seansullivan.com/
    package pdfservlet;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    import java.io.ByteArrayOutputStream;
    import java.io.PrintWriter;
    // import the iText packages
    import com.lowagie.text.*;
    import com.lowagie.text.pdf.*;
    * a servlet that will generate a PDF document
    * and send the document to the client via the
    * ServletOutputStream
    * @author Sean C. Sullivan
    public class PDFServlet extends HttpServlet
         public PDFServlet()
              super();
         * we implement doGet so that this servlet will process all
         * HTTP GET requests
         * @param req HTTP request object
         * @param resp HTTP response object
         public void doGet(HttpServletRequest req, HttpServletResponse resp)
              throws javax.servlet.ServletException, java.io.IOException
              DocumentException ex = null;
              ByteArrayOutputStream baosPDF = null;
              try
                   baosPDF = generatePDFDocumentBytes(req, this.getServletContext());
                   StringBuffer sbFilename = new StringBuffer();
                   sbFilename.append("filename_");
                   sbFilename.append(System.currentTimeMillis());
                   sbFilename.append(".pdf");
                   // Note:
                   // It is important to set the HTTP response headers
                   // before writing data to the servlet's OutputStream
                   // Read the HTTP 1.1 specification for full details
                   // about the Cache-Control header
                   resp.setHeader("Cache-Control", "max-age=30");
                   resp.setContentType("application/pdf");
                   // The Content-disposition header is explained
                   // in RFC 2183
                   // http://www.ietf.org/rfc/rfc2183.txt
                   // The Content-disposition value will be in one of
                   // two forms:
                   // 1) inline; filename=foobar.pdf
                   // 2) attachment; filename=foobar.pdf
                   // In this servlet, we use "inline"
                   StringBuffer sbContentDispValue = new StringBuffer();
                   sbContentDispValue.append("inline");
                   sbContentDispValue.append("; filename=");
                   sbContentDispValue.append(sbFilename);
                   resp.setHeader(
                        "Content-disposition",
                        sbContentDispValue.toString());
                   resp.setContentLength(baosPDF.size());
                   ServletOutputStream sos;
                   sos = resp.getOutputStream();
                   baosPDF.writeTo(sos);
                   sos.flush();
              catch (DocumentException dex)
                   resp.setContentType("text/html");
                   PrintWriter writer = resp.getWriter();
                   writer.println(
                             this.getClass().getName()
                             + " caught an exception: "
                             + dex.getClass().getName()
                             + "<br>");
                   writer.println("<pre>");
                   dex.printStackTrace(writer);
                   writer.println("</pre>");
              finally
                   if (baosPDF != null)
                        baosPDF.reset();
         * @param req must be non-null
         * @return a non-null output stream. The output stream contains
         * the bytes for the PDF document
         * @throws DocumentException
         protected ByteArrayOutputStream generatePDFDocumentBytes(
              final HttpServletRequest req,
              final ServletContext ctx)
              throws DocumentException
              Document doc = new Document();
              ByteArrayOutputStream baosPDF = new ByteArrayOutputStream();
              PdfWriter docWriter = null;
              try
                   docWriter = PdfWriter.getInstance(doc, baosPDF);
                   doc.addAuthor(this.getClass().getName());
                   doc.addCreationDate();
                   doc.addProducer();
                   doc.addCreator(this.getClass().getName());
                   doc.addTitle("This is a title.");
                   doc.addKeywords("pdf, itext, Java, open source, http");
                   doc.setPageSize(PageSize.LETTER);
                   HeaderFooter footer = new HeaderFooter(
                                       new Phrase("This is a footer."),
                                       false);
                   doc.setFooter(footer);
                   doc.open();
                   doc.add(new Paragraph(
                                  "This document was created by a class named: "
                                  + this.getClass().getName()));
                   doc.add(new Paragraph(
                                  "This document was created on "
                                  + new java.util.Date()));
                   String strServerInfo = ctx.getServerInfo();
                   if (strServerInfo != null)
                        doc.add(new Paragraph(
                                  "Servlet engine: " + strServerInfo));
                   doc.add(new Paragraph(
                                  "This is a multi-page document."));
                   doc.add( makeGeneralRequestDetailsElement(req) );
                   doc.newPage();
                   doc.add( makeHTTPHeaderInfoElement(req) );
                   doc.newPage();
                   doc.add( makeHTTPParameterInfoElement(req) );
              catch (DocumentException dex)
                   baosPDF.reset();
                   throw dex;
              finally
                   if (doc != null)
                        doc.close();
                   if (docWriter != null)
                        docWriter.close();
              if (baosPDF.size() < 1)
                   throw new DocumentException(
                        "document has "
                        + baosPDF.size()
                        + " bytes");          
              return baosPDF;
         * @param req HTTP request object
         * @return an iText Element object
         protected Element makeHTTPHeaderInfoElement(final HttpServletRequest req)
              Map mapHeaders = new java.util.TreeMap();
              Enumeration enumHeaderNames = req.getHeaderNames();
              while (enumHeaderNames.hasMoreElements())
                   String strHeaderName = (String) enumHeaderNames.nextElement();
                   String strHeaderValue = req.getHeader(strHeaderName);
                   if (strHeaderValue == null)
                        strHeaderValue = "";
                   mapHeaders.put(strHeaderName, strHeaderValue);
              Table tab = makeTableFromMap(
                        "HTTP header name",
                        "HTTP header value",
                        mapHeaders);
              return (Element) tab;
         * @param req HTTP request object
         * @return an iText Element object
         protected Element makeGeneralRequestDetailsElement(
                                  final HttpServletRequest req)
              Map mapRequestDetails = new TreeMap();
              mapRequestDetails.put("Scheme", req.getScheme());
              mapRequestDetails.put("HTTP method", req.getMethod());
              mapRequestDetails.put("AuthType", req.getAuthType());
              mapRequestDetails.put("QueryString", req.getQueryString());
              mapRequestDetails.put("ContextPath", req.getContextPath());
              mapRequestDetails.put("Request URI", req.getRequestURI());
              mapRequestDetails.put("Protocol", req.getProtocol());
              mapRequestDetails.put("Remote address", req.getRemoteAddr());
              mapRequestDetails.put("Remote host", req.getRemoteHost());
              mapRequestDetails.put("Server name", req.getServerName());
              mapRequestDetails.put("Server port", "" + req.getServerPort());
              mapRequestDetails.put("Preferred locale", req.getLocale().toString());
              Table tab = null;
              tab = makeTableFromMap(
                                  "Request info",
                                  "Value",
                                  mapRequestDetails);
              return (Element) tab;
         * @param req HTTP request object
         * @return an iText Element object
         protected Element makeHTTPParameterInfoElement(
                             final HttpServletRequest req)
              Map mapParameters = null;
              mapParameters = new java.util.TreeMap(req.getParameterMap());
              Table tab = null;
              tab = makeTableFromMap(
                        "HTTP parameter name",
                        "HTTP parameter value",
                        mapParameters);
              return (Element) tab;
         * @param firstColumnTitle
         * @param secondColumnTitle
         * @param m map containing the data for column 1 and column 2
         * @return an iText Table
         private static Table makeTableFromMap(
                   final String firstColumnTitle,
                   final String secondColumnTitle,
                   final java.util.Map m)
              Table tab = null;
              try
                   tab = new Table(2 /* columns */);
              catch (BadElementException ex)
                   throw new RuntimeException(ex);
              tab.setBorderWidth(1.0f);
              tab.setPadding(5);
              tab.setSpacing(5);
              tab.addCell(new Cell(firstColumnTitle));
              tab.addCell(new Cell(secondColumnTitle));
              tab.endHeaders();
              if (m.keySet().size() == 0)
                   Cell c = new Cell("none");
                   c.setColspan(tab.columns());
                   tab.addCell(c);
              else
                   Iterator iter = m.keySet().iterator();
                   while (iter.hasNext())
                        String strName = (String) iter.next();
                        Object value = m.get(strName);
                        String strValue = null;
                        if (value == null)
                             strValue = "";
                        else if (value instanceof String[])
                             String[] aValues = (String[]) value;
                             strValue = aValues[0];
                        else
                             strValue = value.toString();
                        tab.addCell(new Cell(strName));
                        tab.addCell(new Cell(strValue));
              return tab;
    }

    Hi, i've done all described in the posts, but i
    don't know how to call the servlet, using the web
    browser, and more, how can i call the servlet frrom
    a button action? or hyperlink?
    nks for the helpOk, I am not sure what you are trying to do. For these events you can
    use the SessionBean. What do you want the servlet to do that the session bean can't?
    I use the sessionbean because I don't know how to receive or respond to xmlhttpreq messages directly in my sessionbean. If you just need the standard http req/resp it doesn't seem like a servlet is needed.

Maybe you are looking for