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

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 - 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 ?

  • 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.

  • Using oracle db sequence for auto generating of PKs for CMP entity beans

    Hi,
    I have read quite a number of threads about (auto) generation of keys for primary keys for the CMP entity beans.
    My requirement is I am migrating an application deployed on Weblogic to oc4j. The application is using cmp entity beans with auto key generation using a sequence in the Oracle db. This is specified in weblogic-cmp-rdbms-jar.xml file like below:
    <automatic-key-generation>
    <generator-type>Oracle</generator-type>
    <generator-name>REPUSER.DEPT_REPORT_SEQ</generator-name>
    <key-cache-size>1</key-cache-size>
    </automatic-key-generation>
    In the ejb-jar.xml, it is specified as:
    <prim-key-class>java.lang.Integer</prim-key-class>
    <primkey-field>id</primkey-field>
    Now, I need to migrate this to oc4j. Can somebody suggest me options and clarify my questions kindly?
    1) I have read articles that say that in the ejb-jar.xml, we need to specify <prim-key-class>java.lang.Object</prim-key-class> and this will create a column called 'autoid' in the respective entity table in the Oracle db.
    - How can I use this to assign the value to my primary field, say, id?
    2) Now, with the latest oc4j, can I use Oracle database sequence as the key generator for the values of the PKs just by specifying in the xml descriptor ejb-jar.xml?
    2.a) If yes, is there any article that explains with the code?
    2.b) If no, what are the alternatives I have?
    I have read many discussions that say that we can create a stateless session bean that can lookup the database sequence using simple JDBC call to return the nextval of the sequence. The SSB should be called in the ejbCreate() of the entity bean.
    My related question is, what is recommended for oc4j? What are limitations of the various options for the latest oc4j available?
    How should I go about deploying this kind of ejbs in oc4j?
    Any help and pointers are welcome. Please help.
    Thanks a lot.
    Vadi

    Hello ,
    Instead of exposing a get/set method for each arribute of your bean (corresponding to database table) expose only one object.
    For example
    public class CustomerBean implements javax.ejb.EntityBean{
    private CustomerVO objCustomer;
    private String customerName;
    private String customerMail;
    private String customerType;
    public CustomerVO getCustomer(){
    return this.objCustomer;
    public void setCustomer(CustomerVO objCustomer){
    this.objCustomer = objCustomer;
    public void ejbStore(){
    customerName = objCustomer.getName();
    customerMail = objCustomer.getMail();
    customerType = objCustomer.getType();
    HTH
    VJ

  • 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

  • GetId () returns 0 for CMP Entity Bean

    Hi
    I'm currently using the HR OE schema that you can download from otn to do some test with EJBs. After creating an CMP Entity Bean, deploying it to the container that comes with JDeveloper9i and accesing it via the Sample Client I get 0 for the id column. All other columns works fine the only one showing a value of 0 is the id column.

    I have created a CMP bean and when I use the create method,it inserts 0 in the primary key filed.This only happens if I do not supply a value for that field in the method.So try to check the create method and make sure that the primary key argument is there.In other words,oracle container inserts 0 in the primary key filed if no argument is supplied.
    Regards,
    Madani

  • 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

  • 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

  • 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

  • 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

  • Usage of Object Cache for Java in J2EE apps

    Hi,
    we are investigating on whether we can use the Object Cache for Java
    (OCS4J) for our requirements. The question we have come across is:
    What is the designated way of integration for the Object cache to fit
    into the J2EE environment? Unfortunately, although the current manuals
    group OCS4J into the "Oracle Containers for J2EE Services Guide" and the
    suggested package name for the whole thing in JSR 107 seems to be
    javax.util.jcache, there is very little documentation on how the
    designers would like J2EE programmers to use the cache from within a
    J2EE app and all examples given are not from within a J2EE environment.
    We are in particular thinking about a hierarchy of several cache
    "compartments" (Region->Subregion->group) for different topics and using
    the hierarchical name of the cache (region.subregion.group) as the
    primary key for BMP Entity beans, each of them having their own
    CacheAccess object. Then we would have an API of stateless Session beans
    on top of that, which would be determining the cache "compartment", get
    the appropriate Entity Bean with the Cache Access object and then do the
    required operations on the cache.
    But then we immediately run into the question of how the mapping between
    Cache Objects and CacheAccess objects will be done etc.
    So is there anybody that can give us any hints how to use the OCS4J in
    an EJB scenario?
    Thanks in advance for any help!
    Andreas Loew
    [email protected]

    We have Java client requesting over HTTP to application server. We would like to cache some of the objects created by the servlet while serving the request. Can I use the OCS4J for caching the Java objects. Do I require any software or just copying the JAR file and importing the class would serve the purpose?
    Regards
    Arun

  • How set diff. timeouts for entity beans?

    How do i set diff. timeouts for diff. entity beans? Is it in the ejb-jar.xml file? Is this refreshed every time it is accesses?

    Hi there,
    Although not familiar with all of the App servers on the market, I'd say that you are unlikely to find a timeout value for Entity Beans. Passivation of Entity beans is normally a function of the commit options supported by a specific App server. For example, with Commit Option C an entity bean instance should always be returned to the instance pool after a transaction has completed. You can find details of the various commit options in the EJB specification which you can view or download from:
    http://java.sun.com/products/ejb/docs.html
    Hope this helps
    Amanda
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers

Maybe you are looking for

  • Copying iTunes Library from one user account to another on the same MacBook

    I recently purchased a new Macbook running 10.4.8 and transferred my iTunes library from my G5 via firewire. The problem is that I started using one user account and when the library transferred over it went into another user account. Is there a way

  • How to connect with Microsoft Access Database with JAVA

    I want to know the command and query to connect between MSAccess and JDBC. Is it beter way to make connection with MSAccess comparing with other Databases such as SQL and Oracle. Which Database will be the best with Java? I also want to know to be pl

  • Classloader: linking a class

    Hi, I'm trying to manipulate the class loader to obtain something "strange". Imagine that you've got: public class A public class B extends A and a class that is the application public class APPLICATION extends A Now the class A is a library class an

  • Does labVIEW have a function to solve the following math problem?

    In Labview what is the easiest way to solve the following problem? |----             ---|  -1       |--     ---|                |--       --| |  1   1   0       |            |   a     |                |    x     | |  1   0   1       |            |  

  • Project Experience

    Hi All, I have just certified on BW 3.5 and working towards delta BI7 certification. However I have no experience in IT projects whether it is SAP or non SAP. So you’ll understand the problems I am facing. I found wealth of information here how imple