Business Components and OAS 4.0.8

I have several projects running in JDeveloper - one of them being a BC4J project, the others a mix of servlets and classes that make use of the BC4J project to interact with the database.
I have successfully managed to deploy the Business components application to OAS, but I get stuck after that.
How do I make use of this deployed BC4J application through a JServlet application?

Hi,
A colleague of mine mentioned that one may encounter problems deploying to OAS 4.0.8.
I understand that OAS 4.0.8.1 has major bug fixes and may make deployment substantially easier. Having not attempted either, I cannot verify his statement.
Hope you have success!
G.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Subhadip:
I have created an application using Oracle Business Components and Oracle InfoSwing controls. Now I want to deploy the Business Components as EJB to OAS 4.0.8 and want to run the front end as an Applet which will connect to those EJB Session beans stored in OAS. Please let me know if its possible or not and any document detailing how to do it. To be more specific:
1) In the properties dialog for the Application Module, in the remote tab, there are options for Oracle8i EJB, CORBA and VISIBROKER, but nothing for OAS. So what to choose there?
2) If I run Deployment Wizard on the Business Components project with OAS option (selecting nothing in the Remote Tab), it fails (says nothing to parse in the source JAR file)
3) In the property pallette of the InfoProducer Session object, what to give in the remote proerties for OAS EJB.
4) It seems that no manual code change is required if they are deployed in Oracle8i or VisiBroker whether they are deployed in Local or EJB or CORBA(the deployment wizard takes care of it). Is it same for OAS EJB deployment also?
Please help. It's Very Very urgent.<HR></BLOCKQUOTE>
null

Similar Messages

  • Why ADF Business Components and TopLink

    Hi All,
    Why are there two types of components in Businses Tier? (ADF Business Components and TopLink). Even through there are other types, I can visualize the use of other components but ADF Business Components & TopLink seems to serve the same requirement.
    Can some one provide me information on what is the difference between these two and when to use which one?

    ADF Business Components (aka BC4J) are different from Toplink from approach point of view. Basically if you are more comfortable with SQL and want fine grain control over what and how SQL are run against the database, BC4J is the way to go, because, it's you who write the queries(in ViewObjects)
    If you are from more of java backgroup and can visualize things in term of Object and relationships among objects, so on and so forth then Toplink would be the right choice.
    Pls see the post by Shay in his blog:
    http://blogs.oracle.com/shay/2006/03/10
    regards - rutwik

  • Difference between business components and EJB

    hello guys, do anyone knows what is the core difference of using ADF Business components and EJB Session Beans ??

    this blog might help http://blog.whitehorses.nl/2012/03/26/adf-11g-bc4j-or-ejb3/
    Timo

  • Building Cascading Lists for Query with ADF Business components and JSP

    I build “Cascading Lists for Query Screens with ADF Business Components”. When I to select master list first – Ok, but when I to select master list second returned error : JBO – 25013 : Too many objects match the primary key oracle.jbo.key[CN]. CN dependences with key to detail list (Countries in this case). Please help me.
    Excuse me for my English.
    Andrew.

    You would have a better chance, that someone answers your question, if you choose the right forum:
    JDeveloper and ADF

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

  • Possible Bug: Business Components and packaging preferences

    I'm using JDev 11g TP2
    When I set up package preferences for business components, it is completely ignoring the package I setup for the Entity object.
    Example:
    From the menu Tools>Preferences
    Under the section Business Components>Packages.
    I set the following:
    Business Component: left blank - it uses the default [prefix].model
    Entity: entity
    Association: entity.association
    View Object: view
    View Link: view.links
    the rest have been left at default settings.
    Then I create a new diagram so I can add existing database tables to the application. I drag and drop the selected tables from the application resources to the diagram. It creates the entity objects in the [prefix].model package, not the [prefix].model.entity package like I was expecting. However the associations get created correctly in the [prefix].model.entity.association package.
    Is this possibly a bug, or just a training issue for me?
    Thanks

    No worries Ric. Unfortunately I don't have access to your latest builds but I'll still raise the issues in case they are relevant.
    Regards,
    CM.

  • Business Components and Database Views - Trouble Creating

    I am trying to create a business component that contains a View that I created in my database. When I get to the fnnal step of creating the business component and it begins to generate the XML and Java code, it bombs out and says that the view object does not support ROWID. I just need to select only GridControl of this view.
    Any suggestions/help would be appreciated. I could not find any info in the JDeveloper help.
    null

    Some options:
    [list]
    [*]Create the entity using the Entity Wizard instead of reverse engineering it from a table. In the entity wizard you can specify the table/view name, then indicate which attribute should function as the primary key.
    [*]Don't bother creating an entity object for this view. You can just create a view object with an "expert mode" query that selects against your database view. It does not need an entity object. Note, however, that without an associated entity you won't get "uniquing" of entity level values, so if another view object being used by the same use changes the data that this grid is showing, the updates won't be automatically synchronized if you go this route.
    [list]

  • Business Components and oracle.jbo.domain.Date

    Hello I have the next problem I have a Busines Component and I have to acess to rows who have Dates and with oracle.jbo.domain.Date I can4t acess to the day, month, year .
    Can anyone Help me how can I do to access this dates?
    Thanks a lot your your help.

    Hi,
    This is the trilogy problem:
    oracle.jbo.domain.Date
    oracle.sql.DATE
    java.util.Date
    The question is how to translate from one object type to another.
    You can use the following:
    oracle.jbo.domain.Date tmpDate = null;
    SimpleDateFormat tmpLocalFormat = new SimpleDateFormat();
    SimpleDateFormat tmpLocalFormat2 = new SimpleDateFormat();
    // Obtenir la date du sommaire
    tmpDate = (oracle.jbo.domain.Date) session.getValue("DateElem");
    // Initialisation des objets de formatage de date
    tmpLocalFormat.applyPattern("yyyy-MM-dd");
    tmpLocalFormat2.applyPattern("dd-MM-yyyy");
    // Conversion du format de date yyyy-MM-dd => dd-MM-yyyy
    tmpWhereClause = new String(tmpLocalFormat2.format(tmpLocalFormat.parse(tmpDate.toString())));
    // Ajouter ` la clause "Where" la contrainte de la date
    tmpWhereClause = "DrqSommaireInitial.DATE_SOMMAIRE = TO_DATE('" + tmpWhereClause + "', 'DD-MM-YYYY')";
    Take a look also to class calendar...
    null

  • ADF BC Business components and Thrid party JDBC Driver

    Hello all
    I am using JT400.jar file to connect to AS/400 data base in my JSF/ADF Application.
    We are using shared library for all non oracle jar files . and my application fails with error message
    ## Detail 0 ##
    java.sql.SQLException: No suitable driver
    During runtime. even though i am importing the required jar files from shared library settings in server.xml / application.xml
    When i don't have the entry in shared library for this jar file it will fail during deployment time it self, but with shared library link it works during deployment but fails during runtime
    it will work during runtime if i add my jar file to BC4J/lib folder. but team responsible for mintaining application server don't accept adding non oracle jar files to oracle installation folders
    Any Advise
    Thanks

    The ADF BC runtime library JAR files are in the BC4J/lib directory.
    The ADF/BC4J runtime JAR files may also be included in the ADF/BC application by copying the files to the WEB-INF/lib directory of the ADF BC application.

  • Nested Tables and Business Components

    Hi,
    We have developed a paradigm whereby all of our tables are of object types. In one example we haveL
    create type addresslines_nt as table of varchar2(30);
    We have another type:
    create type address_ot as object(
    lines addresslines_nt );
    We create the TABLE off of address_ot with a nested table (store as) off LINES.
    CREATE TABLE ADDRESS of ADDRESS_OT ....
    In JDeveloper we want to create BUSINESS COMPONENTS and can not find a way for it (JDeveloper) to create a matching component for ADDRESS (the table) without it dropping a reference to the LINES property?
    HELP!
    Dave

    BC4J version 3.2.x only supports VARRAY collection types.
    BC4J 9i (which will come with JDeveloper 9i when it's release) supports both VARRAY and TABLE collection types.

  • Load Error - Business Components

    I created a project that has business components and when I close down JDeveloper and reopen I get the following message below
    More Information:
    We use a central objects and import them into each project that must use them. I am assuming that the issue is the projects are not seeing the central ADF Objects. But I would like to know how to Fix this without rebuilding everything all over again....
    JDeveloper Version: 10.1.3.0.4.3673
    Enviroment: Creating ADF Client ( Swing ) Application
    Error Messages:
    Object prices.phoenix.conformity.adf
    Project: xxx
    The following object refeered to object that could not be found:
    Prices.phoenix.conformity.adf.CProductOfferView
    Could not find the following objects:
    Prices.phoenix.dbo.Banner
    Stack Trace:
    [ pre]
    oracle.jbo.dt.objects.JboException: The following object(s) referred to
    objects that could not be found:
    prices.phoenix.conformity.adf.C_ProductOfferViewEx
    Could not find the following referenced object(s):
    prices.phoenix.dbo.Banner
    at
    oracle.jbo.dt.objects.JboException.throwException(JboException.java:81)
    at
    oracle.jbo.dt.objects.JboPackage.loadResolveReferencesXML(JboPackage.jav
    a:1397)
    at
    oracle.jbo.dt.objects.JboPackage.finishObjectsLoad(JboPackage.java:1042)
    at
    oracle.jbo.dt.objects.JboPackage.loadFromXMLFile(JboPackage.java:972)
    at
    oracle.jbo.dt.objects.JboPackage.loadFromXMLFile(JboPackage.java:951)
    at
    oracle.jbo.dt.objects.JboBaseObject.loadFromXMLFile(JboBaseObject.java:2
    555)
    at
    oracle.jbo.dt.objects.JboPackage.loadFromXMLFile(JboPackage.java:880)
    at
    oracle.jbo.dt.objects.JboPackage.checkForLoad(JboPackage.java:451)
    at
    oracle.jbo.dt.objects.JboPackage.findContainedObjectByName(JboPackage.ja
    va:440)
    at
    oracle.jbo.dt.objects.JboPackage.findObjectByName(JboPackage.java:1999)
    at
    oracle.jbo.dt.objects.JboApplication.findObjectByName(JboApplication.jav
    a:943)
    at
    oracle.adf.dt.providers.BC4JDataControlProvider.createDataControls(BC4JD
    ataControlProvider.java:153)
    at
    oracle.adf.dt.providers.BC4JDataControlProvider.addControlsToArrayList(B
    C4JDataControlProvider.java:98)
    at
    oracle.adf.dt.DataControlManager.getAllDataControls(DataControlManager.j
    ava:129)
    at
    oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataContro
    lsTreeModel.java:50)
    at
    oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataContro
    lsTreeModel.java:35)
    at
    oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataContro
    lsTreeModel.java:30)
    at
    oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataContro
    lsTreeModel.java:25)
    at
    oracle.adf.dt.controls.DataControlsTree.createDataControlsTreeModel(Data
    ControlsTree.java:81)
    at
    oracle.adf.dt.controls.ModelCreator.run(DataControlsTree.java:113)
    at
    oracle.adf.dt.controls.DataControlsTree.internalPopulateFromActiveWorkSp
    ace(DataControlsTree.java:76)
    at
    oracle.adf.dt.dbpanel.DataBindingPanelTree.dataControlSetChanged(DataBin
    dingPanelTree.java:115)
    at
    oracle.adf.dt.DataControlManager.notifyDataControlSetChanged(DataControl
    Manager.java:54)
    at
    oracle.adf.dt.dbpanel.DataBindingPanel.populateTreeIfNecessary(DataBindi
    ngPanel.java:99)
    at
    oracle.adf.dt.dbpanel.DataBindingDockeableWindow.dockableShown(DataBindi
    ngDockeableWindow.java:140)
    at
    oracle.ide.docking.DockableWindow$ShowHideTranslator.dockableShown(Docka
    bleWindow.java:68)
    at
    oracle.ideimpl.docking.DockStationImpl.fireDockableEvent(DockStationImpl
    .java:961)
    at
    oracle.ideimpl.docking.DockStationImpl.fireDockableEvent(DockStationImpl
    .java:1001)
    at
    oracle.ideimpl.docking.TitledPanel.fireDockableShown(TitledPanel.java:62
    7)
    at
    oracle.ideimpl.docking.TitledPanel.setPageVisible(TitledPanel.java:828)
    at
    oracle.ideimpl.docking.TitledPanel.showClient(TitledPanel.java:758)
    at
    oracle.ideimpl.docking.TitledPanel.setClientVisible(TitledPanel.java:745
    at
    oracle.ideimpl.docking.TitledPanel.setClientVisible(TitledPanel.java:738
    at
    oracle.ideimpl.docking.TitledPanel.loadVisibilityLayout(TitledPanel.java
    :1799)
    at
    oracle.ideimpl.docking.DockPanel.loadVisibilityLayout(DockPanel.java:200
    at
    oracle.ideimpl.docking.AbstractDockPanelHost.loadVisibilityLayout(Abstra
    ctDockPanelHost.java:94)
    at
    oracle.ideimpl.docking.DockStationImpl.onStartup(DockStationImpl.java:14
    08)
    at
    oracle.ideimpl.docking.DockStationImpl.loadLayout(DockStationImpl.java:1
    353)
    at
    oracle.ideimpl.docking.DockStationListener.init(DockStationListener.java
    :36)
    at oracle.ide.layout.Layouts.activate(Layouts.java:758)
    at oracle.ide.layout.Layouts.activateLayout(Layouts.java:176)
    at
    oracle.ideimpl.MainWindowImpl$2.runImpl(MainWindowImpl.java:743)
    at
    oracle.javatools.util.SwingClosure$1Closure.run(SwingClosure.java:50)
    at
    java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThrea
    d.java:242)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.
    java:163)
    at
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at
    java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    [ /pre]
    Message was edited by:
    cchobanik
    Message was edited by:
    cchobanik
    Message was edited by:
    cchobanik

    Just to let everyone know the issue is a result of this error:
    Compile Errors
    Cory

  • Best Practices ADF Business Components

    Hi all,
    I'm reading the Dev Guide of ADF Business Components, and I've some questions:
    a) In the business tier, Which is the best way to create new rows in the db? I've found two ways: Using a ViewObject and then call create and insert or using the EntityDefinitionImpl object and call the createInstance2 function.
    b) In the business tier, which is the best way to search for a row in the db? I've found two ways: Using findByKey on the ViewObject or using the findByPrimaryKey on the EntityDefinitionImpl object.
    Thanks!

    Hi,
    a) use a ViewObject
    b) also I would think its the ViewObject
    Frank

  • Editing business components

    Hello guys, how can edit my business components ??
    lets say i have added a new column to the table in database and i've made a new foreign key with another table, what is the best way to update these changes to my entities and view objects ?
    am using JDev 12.c , thanks in advance ^^

    right click on a business component package and select synchronize with db. This will add the missing column and new or changes rules to the EO. The updates to the VO you have to to by yourself (e.g. add column to VO).
    And the new FK doesn't automatically result in new association or viewlink. These you have to do yourself.
    If you have not written too much code you can delete the business components and create new ones from the tables again.
    Timo

  • What is relation of Business component and EJB3?

    Hi
    Thank you for reading my post
    I saw that we can use Business components to make data driven pages very easily
    can some one explain me , what is relation of Business components and EJBs ?
    Does business components use EJB 3 ?
    What about toplink , Does Jdeveloper provide better tooling for toplink persistance or EJB 3 persistance ?
    Thanks

    ADF Business Components is a Java framework we developed at Oracle to make development easier.
    ADF BC doesn't use EJB 3.0 - and on a certain level it is an alternative approach to EJBs.
    To see what ADF Business Components offers you out of the box to make you more productive read chapter 4 of the ADF Developer Guide -
    http://download.oracle.com/docs/html/B25947_01/bcintro.htm#sm0051
    The bottom line is that when you use ADF Business Components you end up writing less code.
    With ADF you can use either ADF BC, EJB, or TopLink to build your application.
    In terms of mapping capabilities - we currently offer richer and more visual mapping support for TopLink then for EJB 3.0.
    Note that when you use EJB 3.0 and you deploy it to Oracle AS you are actually using TopLink as the JPA implementation.

  • Business Components diagram to Database Diagram AUTOMATICALLY Please.

    Hello,
    We are using Jdev 10.1.2 and we have a beautiful business components diagram with all the entities and associations and would like to generate automatically a database diagram from that beauty, without effectively creating the tables. We wish to have a look at the data definition language script to be sure that we get what we expect, when we generate the tables.
    Does anyone have any idea how to proceed ?
    Thanks a lot for your co-operation.
    Peace and Love to all of you !!!
    Jacques

    Jacques,
    In JDeveloper 10.1.2, you will need to generate tables from your Entity Objects to the database first and then either drag and drop the tables from the Connections Navigator to the diagram, or import them to the Offline Database, and then drag them to the diagram from the Applications Navigator.
    We are working on better integration between Business Components and the Offline Database/Database Modeling in future versions of JDeveloper.
    - John.

Maybe you are looking for