Business Components for Java - Pooling

I need a little bit of clarification regarding business components for java...
I would like to create a jdbc connection pool for my application to avoid the overhead of creating new jdbc connections each time a client connects.
Since I'm using BC4J, and the jdbc connect is contained within the bc4j components, I connect to the database using:
session.getTransaction().connect("jdbc:oracle:thin:test/test@ccmain:1521:clincare");
Does the BC4J architecture do any connection pooling itself? My plan was to create a pool of ApplicationModules that could be easily and quickly accessed, but if bc4j already pools the jdbc connections internally, then I'm not sure I would gain any performance with my ApplicationModule pool.
Any input would be appreciated! Thanks!

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steve Muench ([email protected]):
[b]Does the BC4J architecture do any connection pooling itself?
Strictly speaking, in JDev/BC4J 3.1, the answer is no. BC4J 3.1 offer Application Module pooling and since AM's are paired one to one with connections, using a pool of AM's is pretty much the same as using a pool of connections.
However, in JDev 3.2 we've dramatically improved the features for use in a high-throughput Web application scenario and in doing so have implemented a more flexible application module pooling mechanism as well as a connection pooling mechanism that work together to allow developers to exploit application module instances to retain pending state without "pinning" that pending state to a particular AM instance and without "pinning" a dedicated database connection.
Early customer previews we've done on our 3.2 features have been receving rave reviews, so we'll excited to get it out to a wider audience this Fall.
For now, you're best bet is to exploit the application module pooling mechanism.<HR></BLOCKQUOTE>
Is JDev 3.2 going to include a support for registering application module not from the property file, but using specific database username and password for the underlying connection ?

Similar Messages

  • Business Components for Java & XML

    In the application I am currently developing, I am using XML metadata to communicate between a web browser and servlets (the xml is parsed by a servlet using an XSL stylesheet to output plain html). To build the XML, I am using the XML SQL utility and the following code:
    try{
    dset = new OracleXMLDataSetExtJdbc(conn, (Reader)sqlStr);
    dset.refreshDataSet();
    }catch (Exception ex){}
    OracleXMLDocGen doc = (OracleXMLDocGen) new OracleXMLDocGenString();
    OracleXMLQuery qry = new OracleXMLQuery(dset);
    qry.setRaiseException(true);
    qry.getXML(doc, qry.DTD);
    My question involves Oracle's Business components for Java. We have recently been doing more research into this technology and the features of it are quite appealing. However, as far as I can tell, there is no way to use the Oracle XML Utilities in conjunction with the BC4J. ie. XML is created based on a view object, not a SQL query to the Database.
    Does anyone know of any way of acheiving this XML generation based on a BC4J foundation?

    A BC4J View Object is effectively a Java component that represents a database query.
    The key difference is that the view object exposes a rowset API to work with which is
    fully updateable, fully scrollable, and automatically coordinated with underlying business logic which you have encapsulated into your companion entity objects (another BC4J Framework building-block component). View objects can also be used to create any interesting hierarchy of master/detail/detail queried database information using "View Links" to link the View Objects together. This allows you to effectively work with a "tree" of data that is perfectly shaped and filtered to the needs of the task at hand -- including self-referential "parts-explosion" kind of view links.
    In JDeveloper 3.1, BC4J ships with a utility class called oracle.jbo.xml.XmlRowSetRenderer which automatically supports rendering the results
    of any view object (and its "tree" of view-linked view objects) as XML, either in DOM format or into a Writer.
    In JDeveloper 3.2 (the next major release) the B2B XML features of the BC4J framework are further enhanced by supporting true, bidirectional XML-in and XML-out for any view object. This means that an XML message can be "fed" to any view object and it natively knows how to handle inserts, update, deletes and (most importantly) enforcement off all shared business logic from the underlying, related entity objects.

  • Business Components for Java entity beans of J2EE

    What is the future of Business Components for Java with the new standard entity beans of the sun Java 2 Entreprise Edition?
    Thanks.
    null

    The Standard Entity Beans are a component (JavaBean) that can be a small piece of the ultimate application needs.
    Oracle Business Component for Java is a complete framework that has numerous features that make developing COMPLETE applications easy.
    Please download the white paper on Business Components, try your hand at creating an application with Business Components (using the wizards) and you will see that Business Components for Java is much more than a simple (/complex) reusable component, it is a complete framework which maked developing N-tier applications almost trivial by allowing you to focus on writing your business logic while the framework takes care of all the application infrastructure and the necessary plumbing.
    Sincerely,
    John@Oracle JDeveloper Team http://technet.oracle.com
    null

  • Change Business System for Java Proxy Client

    I have created Web AS Java business system for Java proxy.
    Is it possbile to send message from client Java Proxy as another business system (Third party)?
    For example to specify this system
    MessageSpecifier messageSpecifier = proxy.$messageSpecifier();
    messageSpecifier.setSenderService("MY_BUSINESS_SYSTEM");
    proxy.$messageSpecifier(messageSpecifier);

    Yes, it is.
    That's the way to do it.
    Stefan

  • Error Loading Business Components for Project

    Good Afternoon,
    I am running JDeveloper ver. 10.1.2
    when I open JDeveloper I get the pop up:
    Error Loading Business Components for Project
    U:\Jdev\mywork\CUSTLEVR\CUSTLEVR\CUSTLEVR.jpr

    You could simply edit the .jpr file outside the Jdeveloper and remove <ownerMap /> element.
    Additionaly, there are some <properties> in the bottom of the file, that need to be removed as well - try experimenting with them.

  • Business Graphics for Java

    Hi,
    What are the java API supported for Business Graphics? I find a few on java but on [ABAP|http://help.sap.com/saphelp_nw04/helpdata/en/45/644c3e873e2f95e10000000a155369/content.htm] the support is richer.
    - Nikhil

    Hi,
    What do you mean by "java API supported for Business Graphics? "
    Web Dynpro for JAVA has following graphic UI elements:
    http://help.sap.com/saphelp_nw04/helpdata/en/9b/d9883672d57c73e10000009b38f889/frameset.htm
    regards,
    ganga

  • Business system for java proxy

    i use xi system as java AS for java proxy. in receiver communication channel i use URL ADDRESS or HTTP destination?????

    please help me its showing following error
    <Trace level="2" type="T">Switch back to normalized party (HTTP response)</Trace>
      <Trace level="1" type="T">Sender scheme external =</Trace>
      <Trace level="1" type="T">Sender agency external =</Trace>
      <Trace level="1" type="T">Sender party external =</Trace>
      <Trace level="1" type="T">Sender party normalized =</Trace>
      <Trace level="1" type="T">Party normalization: receiver</Trace>
      <Trace level="1" type="T">Receiver scheme external =</Trace>
      <Trace level="1" type="T">Receiver agency external =</Trace>
      <Trace level="1" type="T">Receiver party external =</Trace>
      <Trace level="1" type="T">Receiver party normalized =</Trace>
      <Trace level="2" type="T">Undo header mapping (HTTP response)</Trace>
      <Trace level="1" type="T">Sender: Header before undo of mapping</Trace>
      <Trace level="1" type="T">Party =</Trace>
      <Trace level="1" type="T">Agency =</Trace>
      <Trace level="1" type="T">Scheme =</Trace>
      <Trace level="1" type="T">Service = BS_Debashish</Trace>
      <Trace level="1" type="T">Receiver: Header before undo of mapping</Trace>
      <Trace level="1" type="T">Party =</Trace>
      <Trace level="1" type="T">Agency =</Trace>
      <Trace level="1" type="T">Scheme =</Trace>
      <Trace level="1" type="T">Service = XIT4Java</Trace>
      <Trace level="2" type="T">Sender: Header after undo of mapping</Trace>
      <Trace level="2" type="T">Party =</Trace>
      <Trace level="2" type="T">Agency =</Trace>
      <Trace level="2" type="T">Scheme =</Trace>
      <Trace level="2" type="T">Service = BS_Debashish</Trace>
      <Trace level="2" type="T">Receiver: Header before undo of mapping</Trace>
      <Trace level="2" type="T">Party =</Trace>
      <Trace level="2" type="T">Agency =</Trace>
      <Trace level="2" type="T">Scheme =</Trace>
      <Trace level="2" type="T">Service = XIT4Java</Trace>
      </Trace>
      </Trace>
    - <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST">
      <Trace level="3" type="T">Persisting message after plsrv call</Trace>
      <Trace level="3" type="T">Message-Version = 007</Trace>
      <Trace level="3" type="T">Message version 007</Trace>
      <Trace level="3" type="T">Pipeline CENTRAL</Trace>
      </Trace>
      <Trace level="3" type="System_Error">Error exception return from pipeline processing!</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    - <!--  ************************************
      -->
      <Trace level="3" type="T">Persisting message Status = 014</Trace>
      <Trace level="3" type="T">Message version 008</Trace>
      <Trace level="3" type="T">Pipeline CENTRAL</Trace>
      </SAP:Trace>

  • How to Develop with ADF Business Components for Multiple Databases

    Hi,
    I developed business component by http://www.oracle.com/technetwork/developer-tools/jdev/multidatabaseapp-085183.html tutorial. it was work on mysql and oracle database. In mysql , Set Up Primary Key Generation is only one sequence share betweeen tables. How to make another sequence each mysql table?

    juddi,
    As that article states, the built-in capability of ADF BC uses that single table for all entities (tables) - since it's just a surrogate key, it should not matter. If you wanted different sequences for different entities (tables), that is something you'd have to code for yourself.
    Best,
    John

  • Development without Business Components

    We have to support two other databases beside Oracle.
    1) Is it possible to develop applications and EJB's with JDeveloper 3.1 without using Business Components for Java ?
    2) Is it possible to use the infobus enabled Swing components without BC4J ? Or do we have to implement the data-awareness by ourselves ?
    Thank you
    Andreas
    null

    1) Is it possible to develop applications >>and EJB's with JDeveloper 3.1 without
    using Business Components for Java?Absolutely, EJB's are a Middle Tier component
    that are always available.
    Business Components __CAN__ be deployed as an EJB, but an EJB can serve many other needs.
    Q2: Unsure, but I believe so. Please consult the JavaDoc of the InfoSwing/InfoProducer controls.
    -John
    null

  • Business components Clob

    I tried to modify a query for a View Object. The modification is just adding a property in the SELECT. I tried to modify the query manually or by using the Query Builder. I have an exception that I don't understand:
    Business Components: Java type java.sql.Clob referenced by TopDescrEn is currently not supported.
    and the associated SDO schema file is now empty.
    I checked in the database and the data type is Clob.
    JDev 11.1.1.6

    The Standard Entity Beans are a component (JavaBean) that can be a small piece of the ultimate application needs.
    Oracle Business Component for Java is a complete framework that has numerous features that make developing COMPLETE applications easy.
    Please download the white paper on Business Components, try your hand at creating an application with Business Components (using the wizards) and you will see that Business Components for Java is much more than a simple (/complex) reusable component, it is a complete framework which maked developing N-tier applications almost trivial by allowing you to focus on writing your business logic while the framework takes care of all the application infrastructure and the necessary plumbing.
    Sincerely,
    John@Oracle JDeveloper Team http://technet.oracle.com
    null

  • Jdeveloper 3 & Oracle Business Components

    Can i use Oracle 8i 8.1.5 for the deployment of Oracle Business
    Components for Java or must i wait at 8.1.6 for support of EJB
    1.1 (V I don't want use an application server such as OAS 4.0.8)
    null

    Oracle 8i's JServer will support Java 2 in the next release
    8.1.6.
    - PSW
    Frank Garber (guest) wrote:
    : I'm sorry, I was wondering when 1.2 would be supported in
    : the Oracle 8i JVM??
    : Thanks,
    : Frank
    : ~~~~~~~~~~~~~~~~~~~~~~~~~~
    : JDev Team (guest) wrote:
    : : JDeveloper 3.0 will ship with JDK 1.1.8 and Java 2. Other
    JDK's
    : : can be used via the JDK switching feature.
    : : -PSW
    : : Frank Garber (guest) wrote:
    : : : Hi,
    : : : I skimmed through the document: "JDeveloper 3.0 Oracle
    : Business
    : : : Components for Java Technical White Paper" and could not
    find
    : : out
    : : : which version of the VM 3.0 is going to support.
    : : : 2 questions:
    : : : - 1: Which version of the JVM?
    : : : - 2: General availability date?
    : : : Thanks,
    : : : Frank
    Oracle Technology Network
    http://technet.oracle.com
    null

  • Business Components

    Hello:
    I am just starting to look at JDeveloper3. Does the Business Components Project Wizard allow for the selection of a non-Oracle database like MySQL through the Sun JDBC-ODBC Bridge Driver? The connection dialog appears to allow me to specify another DB, driver, and even test the connection, but will not let me select it in the Business Connection Wizard. In fact, it doesn't even include it in the list of connections.
    Thanks

    Lenny,
    The Business Component for Java framework released with JDeveloper 3.0 supports only the Oracle database(7.3 and up). A future release will support the ability to generate Business Components using a plain vanilla JDBC driver.
    Regards,
    Arun

  • Is Oracle Business Components supported by IAS 10.1.3 ?

    I have an application that uses JBO (also known as Oracle Business Components) for the persistance layer.
    I am doing an evaluation of this technology and I want to find out if this will be supported by Oracle App Server 10.1.3 as well ?
    thanks,
    Amogh

    No, I am not referring to the BC tester.
    There is actually a UI available in 10.1.2 that I use for Oracle Business Components (JBO) that creates the XML and Java interface classes for the VO's and other aspects of the JBO framework automatically.
    I was unable to find this UI in JDev 10.1.3. That was what I was referring to.
    Has Oracle Business Component (JBO) now been renamed ADF Business Component ?
    thanks,
    Amogh

  • Help required in knowing about graphic components in java

    Hi I am in urgent requirement of finding out some graphing components for java.I want these components to work with Jsp. I am new to this and have no idea as to where to search for them. can any one help me in trying to find something.Is there anything like chart fx?

    Please check online help:
    http://developers.sun.com/prodtech/javatools/jscreator/reference/docs/help/2update1/vcs-nb/vcs_cvs.html
    and
    Source Code Control Features in the Sun Java Studio Creator 2 IDE
    http://developers.sun.com/prodtech/javatools/jscreator/reference/fi/2/source-code-control.html

  • ADF business components and scalability ?

    Hello,
    I am new to the ADF Framework, I come from an open source background.
    I have a limitation to use Oracle technologies for an internet banking design.
    My concern is the large number of users accessing the system and how we scale up through clustering.
    Do you recommend ADF business components for this application, can ADF be simple POJOs handlers or EJB 3.0 session facades ? if that is the case, would you recommend EJB 3.0 for clustering and scalability for an internet banking system.
    Any guidance is appreciated.
    Thanks.

    Thanks for the reply, I will read the document, however,
    If I try to compare ADF to other frameworks, creating BCms as POJOs would take advantage of the Apache clustering(web tier, same as Tomcat clustering in Jboss), there is no need for OC4J services of the 10gAS, on the other hand, if I go with EJB3 stateless session beans BCms then i would need 10g OC4J container and its clustering capability(AS clustering).
    Your time is appreciated and please respond only if you time, i will go through the doc.

Maybe you are looking for