Using JDO in a Servlet container/app server

Hi,
I was just wondering what Solarmetric recommends when using Kodo in a
servlet container/app server. Specifically the following:
1. Should each user session maintain a PersistenceManager or should the
PM be created per request? I am thinking it might be expensive to
maintain PMs across requests since you may have idle sessions and the
PMs may hold database resources? But since PMs aren't pooled in Kodo is
creating/closing a PM per request expensive or is it offset by Kodo's
connection pooling?
2. Is it advisable to store data to be displayed on a JSP by storing the
JDO instances themselves or serializable proxies (simple data beans) of
these objects in a user's session?
3. If you can store the JDO instances in the session, do you need to
make them transient instances using makeTransient() and call close() the
PersistenceManager?
Thanks in advance,
Khamsouk

These are all very good questions. There really is no one right answer to any
of them, so I'll just try to educate you on the issues involved and you can
make your own decision. Hopefully other people who are actually using Kodo
in a servlet/JSP environment will chime in too.
1. Should each user session maintain a PersistenceManager or should the
PM be created per request? I am thinking it might be expensive to
maintain PMs across requests since you may have idle sessions and the
PMs may hold database resources? But since PMs aren't pooled in Kodo is
creating/closing a PM per request expensive or is it offset by Kodo's
connection pooling?As long as you are outside of a datastore transaction, a PM does not maintain
any database resources. The only significant state it maintains is a soft
cache of persistent objects that have already been instantiated. If you are
using Kodo 2.3 RC1 and have no set the
com.solarmetric.kodo.DefaultFetchThreshold property to -1, then some
large collections you obtain from query results or relation traversals may be
scrollable result sets on the back-end, in which case they obviously maintain
some database resources.
2. Is it advisable to store data to be displayed on a JSP by storing the
JDO instances themselves or serializable proxies (simple data beans) of
these objects in a user's session?
3. If you can store the JDO instances in the session, do you need to
make them transient instances using makeTransient() and call close() the
PersistenceManager?I'll address these together. JDO fully supports serialization, and in fact
I think you'll find it does so in exactly the way that you want. If you choose
to store serialized persistent objects in the session, then during
serialization the objects will transparently pull in all of their persistent
state and relations, so the entire object graph is serialized. When you
deserialize, the objects will no longer be attached to their persistence
manager -- they will be transient.
Another options is to store the object IDs in the session, and re-retrieve
the persistent objects for each web request.
One design pattern that can probably net very good performance is to maintain
a global read-only persistence manager that you use to dereference these IDs.
Of course, if you ever want to change an object, you'll have to re-fetch it
in a new persistence manager, and evict it from the global manager's cache.
I hope this helps.

Similar Messages

  • Kodo-ds.xml: how to use for two database in same app server?

    hi,
    i meet a problem: i have two applications in the same app server(one app
    use one database.). BUT, only one kodo-ds.xml can configure the
    PersistenceManagerFactory with jndi name. When i figure the two jidi name
    for two "<tx-connection-factoy>" in the root element
    "<connection-factories>" in the kodo.ds.xml. That's unavailable!
    eg:
    <connection-factories>
    <tx-connection-factoy>
    <!-- specify the the first database connection properties with jndi name A
    -->
    </tx-connection-factoy>
    <tx-connection-factoy>
    <!-- specify the the SECOND database connection properties with jndi name
    B -->
    </tx-connection-factoy>
    </connection-factories>
    THAT'S MY CONFIGURATION. UNAVALIABLE NOW.... Who can help me solve this
    problem?
    thx!

    You should deploy multiple kodo-ds.xml files (i.e. kodo-ds-oracle.xml).
    Kidwish wrote:
    hi,
    i meet a problem: i have two applications in the same app server(one app
    use one database.). BUT, only one kodo-ds.xml can configure the
    PersistenceManagerFactory with jndi name. When i figure the two jidi name
    for two "<tx-connection-factoy>" in the root element
    "<connection-factories>" in the kodo.ds.xml. That's unavailable!
    eg:
    <connection-factories>
    <tx-connection-factoy>
    <!-- specify the the first database connection properties with jndi name A
    -->
    </tx-connection-factoy>
    <tx-connection-factoy>
    <!-- specify the the SECOND database connection properties with jndi name
    B -->
    </tx-connection-factoy>
    </connection-factories>
    THAT'S MY CONFIGURATION. UNAVALIABLE NOW.... Who can help me solve this
    problem?
    thx!
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • Using jFreeCharts with JSP-Servlet Web App

    Can someone please help me to get started on using the jFreeCharts in mt JSP Servlet we app? So far I have this in my servlet but I do not know what to do from here.
    protected void doPost(HttpServletRequest arg0, HttpServletResponse arg1) throws ServletException, IOException {
    //          create a dataset...
              double[][] data = new double[][] {
              { 1.0, 4.0, 3.0, 5.0, 5.0, 7.0, 7.0, 8.0 },
              { 5.0, 7.0, 6.0, 8.0, 4.0, 4.0, 2.0, 1.0 },
              { 4.0, 3.0, 2.0, 3.0, 6.0, 3.0, 4.0, 3.0 }
              //DefaultCategoryDataset dataset = new DefaultCategoryDataset(data);
              //return DatasetUtilities.createCategoryDataset("Series ", "Factor ", data);
              CategoryDataset dataset = DatasetUtilities.createCategoryDataset("Series ", "Factor ", data);
              JFreeChart chart = ChartFactory.createBarChart(
         "Bar Chart Demo 2", // chart title
         "Category", // domain axis label
         "Score (%)", // range axis label
         dataset, // data
         PlotOrientation.HORIZONTAL, // orientation
         true, // include legend
         true,
         false
         }

    the JFreeChart documentation has examples doing just that.
    And if you don't know how to get a browser to call some resource from some html you should get a beginner's tutorial to html.

  • Deploy Java apps using Oracle Apps Server 9i

    Hi Gurus,
    Is it possible to deploy custom Java application using the bundle E Business Suite Apps Server?
    If yes, can you provide me a reference or a step by step guide that will help me do so.
    Many thanks

    Portal 10.1.2 is not yet JSR-168 compliant. You will not be able to deploy a portlet written according to the JSR-168 standard.
    Check http://www.oracle.com/technology/products/ias/portal/standards.html , it contains a link to a developer's preview of the JSR-168 compliant container.

  • How to access JDBC Resource registered in Sun Java System App Server ?

    I want to create a stand-alone JDBC application with Java SE using Swing technologies and JNDI technology. The purpose of using JNDI technology is to avoid change of Java Source Code every time I move the database to different location. This Java application will be used in a standalone PC installed with Windows XP Professional with no LAN / WAN connection. Of course, Internet connection is available with the PC.
    I use JavaDB to store the data tables and the location of the database is D:\E-DRIVE\SAPDEV. Tomorrow, if I move this database to C:\SAPDEV or any network drive, I do not want to change the Java Source code. I want to use JNDI which, if I am not wrong, helps developers to avoid manual change of Java source code whenever the database location is changed. Changes have to be made only in the JNDI Name which contains all relevant information about the database in order to get connection no matter where the database SAPDEV is stored; it can be placed under D:\E-DRIVE directory or C:\ directory of the hard disk. To implement my intention, I started developing Java application as per the steps mentioned below:
    Step 1:
    To proceed, first, I sought the help of Sun Java System Application Server Admin Console. I created JNDI object for Connection Pool using the menu path Common Tasks->Resources->JDBC->Connection Pools.
    JNDI Name : ABAPRPY
    Resource Type : javax.sql.DataSource
    Datasource class : org.apache.derby.jdbc.ClientDataSource
    Description : ABAP Program Repository
    The Connection Pool creation has options for General, Advanced and Additional Settings tabs and I made all the settings relevant to the database I created in D:\E-DRIVE\SAPDEV.
    To confirm whether the above settings are correct, I pressed the Ping push button which is available in the General tab of the connection pool creation screen. The system responded with the message Ping Succeeded.
    Step 2:
    I created a JDBC Resource using the menu path Common Tasks->Resources->JDBC->JDBC Resources.
    JNDI Name : jdbc/SAPDEV
    Pool Name : ABAPRPY
    Description : Database Connection for SAPDEV database
    Status : Enabled
    I can see all the above settings recorded in the domain.xml which is placed in the folder
    C:\Sun\AppServer\domains\domain1\config
    Step 3:
    I have made sure that Sun Java System Application Server is up and running in the background with JavaDB server. I created a Java Program making sure the following JAR files are included in the classpath:
    appserv-admin.jar
    appserv-ee.jar
    appserv-rt.jar
    javaee.jar
    fscontext.jar
    Plus, the lib directory of JDK 1.6 & C:\Sun\AppServer\domains\domain1\config
    Source code of the program is as follows: I used NetBeans IDE to create my project file.
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.naming.*;
    import javax.activation.DataSource;
    public class JNDILookup {
    public static void main(String[] args) {
    try {
    InitialContext initCtx = new InitialContext();
    DataSource ds = (DataSource) initCtx.lookup("java:comp/env/jdbc/sapdev>");
    } catch (NamingException ex) {
    Logger.getLogger(JNDILookup.class.getName()).log(Level.SEVERE, null, ex);
    When I attempted to compile the above program in NetBeans IDE ,no compilation error reported. But while executing the program, I got the following run-time error message:
    SEVERE: null
    javax.naming.NameNotFoundException: No object bound for java:comp/env/jdbc/sapdev> [Root exception is java.lang.NullPointerException]
    at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:224)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:396)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)
    at SAPConnect.JNDILookup.main(JNDILookup.java:21)
    Caused by: java.lang.NullPointerException
    at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:173)
    ... 3 more
    Now, I want to come out of this situation; at the same time, I want to preserve the settings I have made in the Sun Java System Application Server Admin Console. That is, I want to programmatically access the data source using Connection Pool created in Sun Java System Application Server Admin Console.
    I request dear forum members to provide me an appropriate solution.
    Thanks and regards,
    K. Rangarajan.

    jay44 wrote:
    Bare in mind I am attempting the context.lookup() from inside the container (my code is in a session bean). I have accessed the server and have my bean "say hello" first to verify the bean works OK, then I call a method with this rather standard code:
    String jndiDataSourceName ="Second_EJB_Module_DataBase";
    Logger.getLogger(DynamicPU.class.getName()).log(Level.INFO,"Programatically acquiring JNDI DataDource: "+ jndiDataSourceName);
    InitialContext ctx;
    try {
    ctx = new InitialContext();
    ds =(DataSource)ctx.lookup("java:comp/env/jdbc/"+jndiDataSourceName);
    } catch (NamingException ex) {
    Logger.getLogger(DynamicPU.class.getName()).log(Level.SEVERE, null, ex);
    return "Exception generated trying to preform JDBC DataSource lookup. \n"+ex.toString();
    But when I run the code the server log shows the initial context is created Ok, but an exception is thrown becasue the resource name is not found:
    (and i have tried vriations of ctx.lookup("jdbc/"+jndiDataSourceName) etc etc
    You are fine here. It works in container because the InitialContext properties have been supplied already. That was the link I forwarded earlier. The InitialContext you create locally needs to locate the container JNDI. That is what the properties specify.
    Where I am confused is where you indicate the stack below is from the server log. So, you initiate a standalone (java main method) application, create an InitialContext, and you see the results in your app server log?
    LDR5010: All ejb(s) of [EJB_Module_1] loaded successfully!
    Programatically acquiring JNDI DataDource: Second_EJB_Module_DataBase
    The log message is null.
    javax.naming.NameNotFoundException: Second_EJB_Module_DataBase not found
    at com.sun.enterprise.naming.TransientContext.doLookup(TransientContext.java:216)
    at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:188)
    at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:192)...
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
    This is strange since I can see this resource (a JDBC connection named Second_EJB_Module_DataBase) is configured on the server from the server's admin console.
    That is why you can obtain a lookup from within the container (app server).
    For this lookup to work it may be that one must map the name inside an ejb-jar.xml deployed with the application, but I have also read some resources like jdbc connection should have a default name. Does anyone know if my lookup() should work without using an ejb-jar.xml mfile to explcitly map the reource for my application?
    Both EBJ's and data sources can be referenced via JNDI. It's a remote lookup (that is normally optimized if it is running in the same JVM). You should not have any dependencies on a JDBC data source being set-up on ejb-jar.xml. That file can of course impact your EJB's. However, data sources are normally set-up on a container-specific basis (e.g., you probably did it through a console, but there is a spec somewhere about how to set up a data source via a resource the app server looks for; it varies from app server to app server). However, once you have that container-specific data source set-up, JNDI operates vendor-neutral. You should be able to take the code above and move it to JBoss or Weblogic or Tomcat or whatever (this is an ideal, in practice, the vendors sometimes put a data source in a name you would not expect, but again, you can use their JMX console to see what the JNDI name is).
    (As I stated above if I have to use a deployment discriptor to get at this JNDI datasource, then solution is not "programmatic" as newly configured datasources could not be accessed without redeploying the entire application).
    As JSchell alluded to, you will always have at least something vendor-specific. JNDI itself (the code you wrote) is totally portable. However, you have to set the various JNDI environment properties to a given vendor's spec. Ideally, you should not need a vendor's actual InitialContext application, but it's a possibility. Once you can safely cast to Context, you should be vendor-neutral (if not, demand your money back).
    So that is exactly where I am stuck, trying to get the lookup to work and wondering if it should work without and xml file mapping the resource for my app.
    What we ended up doing for standalone was to provide our own JNDI. If you look at the open source project JOTM, there are examples on how to use that with XBean (if integrating with Spring, as we did), you can easily set up a data source that runs standalone exactly as you get in the container. Another benefit is you get full JTA/JTS support and the ability to run XA transactions. (This might all be alphabet soup, but the app server gives it to you, and this is the way we ended up doing the same: JNDI + JTA + JTS + XA). It ends up the same application code uses a "vanilla" InitialContext and all we have to do is write one or two xml files (one for our app server, a couple for JOTM), and our actual code works the same.
    I still think you have a shot at getting to the container's JNDI, just not using their full-blown app server JAR.
    I think there must be a simple way to do this with an ejb-jar.xml, I am no expert in JNDI, I could be missing something simple, I will keep at it and post an answer here if I come up with it.
    Thanks, jayIt is simple to code. Getting it to integrate with your app server, yes, that can be challenging. But it has nothing to do with EJB's. Write a simple test. Using nothing but DataSource and InitialContext. Let us know where you get stuck.
    - Saish

  • Oracle App Server 10.1.2 (Windows) with STAF

    I'm trying to run STAF in a servlet in OAS and STAF has a jar named JSTAF.jar that further uses some dll files. Oracle App server is not able to load the dll files. To overcome this i specified -Djava.library.path=<dll files directory> in the server properties but now OAS is able to load some of STAF dll files but it still gives the following error. Please Suggest are there any options in OAS to make it load all the dll files.:
    500 Internal Server Error
    java.lang.UnsatisfiedLinkError: C:\staf\bin\JSTAF.dll: Can't find dependent libraries     at java.lang.ClassLoader$NativeLibrary.load(Native Method)     at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)     at java.lang.Runtime.loadLibrary0(Runtime.java:788)     at java.lang.System.loadLibrary(System.java:834)     at com.ibm.staf.STAFHandle.<clinit>(STAFHandle.java:109)     at com.nokia.gmlc.test.util.GMLCconfigSimulator.<init>(GMLCconfigSimulator.java:63)     at com.nokia.gmlc.test.testcase.si.RtSync.<clinit>(Unknown Source)     at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Class.java:219)     at org.apache.cactus.util.ClassLoaderUtils.loadClassFromContextClassLoader_aroundBody2(ClassLoaderUtils.java:117)     at org.apache.cactus.util.ClassLoaderUtils.loadClassFromContextClassLoader_aroundBody3$advice(ClassLoaderUtils.java:198)     at org.apache.cactus.util.ClassLoaderUtils.loadClassFromContextClassLoader(ClassLoaderUtils.java)     at org.apache.cactus.util.ClassLoaderUtils.loadClass_aroundBody0(ClassLoaderUtils.java:100)     at org.apache.cactus.util.ClassLoaderUtils.loadClass_aroundBody1$advice(ClassLoaderUtils.java:198)     at org.apache.cactus.util.ClassLoaderUtils.loadClass(ClassLoaderUtils.java)     at org.apache.cactus.server.runner.WebappTestSuiteLoader.load_aroundBody0(WebappTestSuiteLoader.java:82)     at org.apache.cactus.server.runner.WebappTestSuiteLoader.load_aroundBody1$advice(WebappTestSuiteLoader.java:240)     at org.apache.cactus.server.runner.WebappTestSuiteLoader.load(WebappTestSuiteLoader.java)     at junit.runner.BaseTestRunner.loadSuiteClass(BaseTestRunner.java:193)     at junit.runner.BaseTestRunner.getTest(BaseTestRunner.java:86)     at org.apache.cactus.server.runner.ServletTestRunner.run(ServletTestRunner.java:302)     at org.apache.cactus.server.runner.ServletTestRunner.doGet_aroundBody0(ServletTestRunner.java:209)     at org.apache.cactus.server.runner.ServletTestRunner.doGet_aroundBody1$advice(ServletTestRunner.java:158)     at org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestRunner.java)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)

    There was a blog that described some level of Axis use with what looks like OC4J 9.0.4 -- so that should extend to 10.1.2. since they are essentially the same thing.
    http://radio.weblogs.com/0132036/2003/11/16.html
    -steve-

  • Servlet container

    hello friends,
    I am new to using Linux . could you help in knowing the advantages of using Linux and Apache server as my Web server for my java and jsp.
    Do i have to use a third party servlet container line Servlet Exec for windows .
    Thanks for any help
    andrew

    hi Haris,
    Thanks for the info , can i use Servlet Exec 3.0 . I am just figuring out the different options i can have .
    Thanks once again.
    andrew

  • Deploy Java Application in E Business Suite Apps Server

    Hi Gurus,
    Is it possible to deploy custom Java application using the bundle E Business Suite Apps Server?
    If yes, can you provide me a reference or a step by step guide that will help me do so.
    Many thanks

    The following metalink notes will helpful for u too
    Java Concurrent Program FAQ [ID 827575.1]
    How To Create a Java Concurrent Program? [ID 827563.1]
    How to register and execute Java Concurrent Program ?in Oracle Applications R11i ? [ID 186301.1]
    Regards
    Mazhar Hussain

  • Apex Installation On Oracle App Server Apache

    Installation using an existing Apache server like on the Oracle Apps Server can be done as a replacement for the Apache that is installed with Apex but may require the installation of mod_plsql into Apache.
    If you need to do this, use the documentation for the Oracle Apps Server for installing mod_plsql. The Apex documentation assumes that mod_plsql is installed and is missing steps for a complete installation.
    Installing on one web server is advantageous for applications that are integrated with Oracle App Server applications like the SOA Suite.

    Installation using an existing Apache server like on the Oracle Apps Server can be done as a replacement for the Apache that is installed with Apex but may require the installation of mod_plsql into Apache.
    If you need to do this, use the documentation for the Oracle Apps Server for installing mod_plsql. The Apex documentation assumes that mod_plsql is installed and is missing steps for a complete installation.
    Installing on one web server is advantageous for applications that are integrated with Oracle App Server applications like the SOA Suite.

  • How to provide web service in servlet container?

    If I want my servlet container to provide web service (JAX-RPC), how should I implement it?
    I'm using Tomcat/Resin as servlet container. Thanks in advance!

    It depends on what standard you are conforming to. Even though some specifications allow you to switch protocols, http is the dominating standard. WS-I, for example, requires the http protocol.
    Klas

  • Does TopLink support JBoss App Server?

    My company is a software development company. So, we use many application servers for our customers.
    I found that TopLink supports OC4J, WebLogic and WebSphere, but I don't know, Does TopLink support JBoss? I just downloaded TopLink for test yesterday, so, I don't know much about TopLink, but my current project uses JBoss.
    Please give me some suggestion that might help me to refine my project.
    Thank you so much.

    Yes it does and there are customers using JBOSS. TopLink supports any app server and, in fact, doesn't even require an app server -- and compliant JVM will do just fine.

  • IE8 JRE 1.6.0_016  and  ** 10.1.2.2 ** app server

    We are currently using IE6, 10.1.2.2 app server/forms, Jinitiator 1.3.1.28. We want to end up being certified IE8, 10.1.2.3 app server/forms, JRE 1.6.0_16. Upgrading every app server (dev thru prod), pushing IE8, and the pushing the JRE to 2000 users all in one night is a little much. We were hoping to push the JRE now, then IE8, then upgrade each app server dev thru prod one at a time. However, we will be in non-certified configuration for a little while with this plan.
    So, has anyong gotten IE8, JRE 1.6.0_16, and ** 10.1.2.2 ** app server to work. We get a white screen with a box in IE8 under this configuration. Any suggestion on IE8 options to click or unclick? Or JRE option to click or unclick?
    We have managed to get IE8, Jinitiator 1.3.1.28, and 10.1.2.2 to work.

    One thing we noticed with the Sun JRE 1.5 and higher is it routinely checks for JRE Updates. This can present a problem if you define the JRE version in the formsweb.cfg to strict. We left it open so any version of 1.6 would work. This requires modifying the following two lines:
    #jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0  /* drop point release */
    and
    #jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
    jpi_classid=clsid:CAFEEFAC-0016-0000-FFFF-ABCDEFFEDCBANote the use of FFFF in place of *0006*. This makes it ignore the point-release (ie., 1.6.0_4 works the same as 1.6.0_18).
    Craig...

  • NetBeans error restarting app server

    I'm using NetBeans 5.0 and Sun App Server 8.2
    In NetBeans when I click "run project" it tries to redeploy the application and always fails.
    Deploying application in domain failed; Could not rename C:\Sun\AppServer\domains\domain1\applications\j2ee-apps\ProjectName to C:\Sun\AppServer\domains\domain1\applications\j2ee-apps\ProjectName_old
    I have to then manually stop the app server then "run project" again.
    It just takes ages and is really annoying, any ideas how to fix it?
    Thanks a heap!
    Just to mention I also posted this question yesterday on JavaRanch with no response
    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=12&t=003805

    I had already run the update center.
    I just did it again and added all of the new modules
    and still no luck :(
    It's not a major problem but it does slow me down a
    heapI try to reproduce the issue and I can't.
    Could you please provide more information about your enviroment:
    - OS
    - Hardware
    What kind of enterprise application you develop?
    Thanks,
    Mikhail

  • What does the Sun App Server Use as a web container?

    Does the Sun App Server use tomcat? Or is it some derivative of Tomcat?
    thanks for the info.

    Thanks.
    Just to clarify for any others who are interested, heres the deal:
    1) Package the static HTML files using the 'deploytool' (See Packaging Web Modules in Chapter 3 of The J2EE(TM) 1.4 Tutorial). This creates a .war file with the required deployment descriptors(?); anyway it creates a bunch of .xml files that have the right data in them.
    2) Take the .war file and drop it in the 'quick deploy' icon (copies the .war file to the 'autodeploy' directory for the App Server instance).
    Anyhow thats the drill.
    Good luck.

  • [beginner] Relationship between app server and JBI container

    Hello,
    I downloaded the Sun app server as well as the JBI SDK and I would like to understand how they relate to each other. Is the JBI SDK a plug-in in the app server? Does it run on top of it? What part of J2ee are used by JBI?(servlets, ejbs, JCA???).
    Thanks in advance,
    Julien.
    PS
    Any answer is welcome. I am a complete beginner in JBI and I am looking for some primer that will help me get started with the spec...

    JBI is a specification; its up to the implementations to decide how they interact with different application servers. e.g. Sun's RI may work in Sun's app server and, say, JBoss. ServiceMix is already integrated into Apache Geronimo but has deployers for any Servlet engine and JBoss.
    Typically a JBI container will use servlets for HTTP bindings and can use EJBs if required. JCA integration is an option too - e.g. ServiceMix can either integrate with the application servers JCA engine or can use its own embedded JCA engine - Jencks (http://jencks.org).
    James
    http://logicblaze.com/

Maybe you are looking for

  • Selection Screen Variant does not set Tab as active -

    Hi experts, I have a Z-report. The selection screen of this report has got 8 tabs and sub screens, for different type of reporting ( SO, PO, Invoice reporting etc). Now the issue is, if a user creates a variant for the report with one particular tab

  • My openGL is staying disabled even when I enabled it, whats wrong???

    im using a 7770 ati 1gb card

  • Editing heap size...

    Hi All, This may sound like plain question so I apologize: i am running Weblogic 11g and am wanting to lower the JVM size from 256 to 128. On the startWeblogic.sh, I edited and added: ${JAVA_HOME}/bin/java ${JAVA_VM} -version if [ "${WLS_REDIRECT_LOG

  • Installing LabView 6.1 Runtime on Win 7 64 bit

    Hi, I have LabView 6.1 based program which I want to install and run in Windows 7 64bit. I tried to install LabView 6.1 Run time Engine. It looks like it starts loading then hang on for long time. What is the issue here? Regards

  • Workflow containing impersonation step is producing error

    Hi, i have a workflow containing Impersonation step. i have 2 users as site collection admin. one is service account and another is normal user account. when i publish the workflow containing impersonation step with the user who is a site collection