"Importing Business Components" Question

I see no way of updating Imported Project paths through jdeveloper. For example updating the current project which imported common-bc4j-code-2.0.0.jar to common-bc4j-code-3.0.0.jar. The only way we were able to do it is by going behind the scenes and updating the jpr and jpx files. Am I missing something? It would be nice if there were a screen that showed all "Imported Business Components" which gave the ability to modify the path.
Another problem our team has ran into is the way classpath and libraries are stored in the metadata file. It would be nice if you could define "classpath variables" in jdeveloper so that all developers on the team could create a variable say "EXTERNAL_JAR" and they could have that path point to whatever file directory on there operating system they chose. Maybe jdeveloper has another way to manage this?
Thanks,
-mark

repost =)

Similar Messages

  • JDev 10.1.3.3 - issues with imported Business Components

    Hi,
    I have got some issues with importing Business Components in JDev 10.1.3.3.
    I cannot discover/use the imported components.
    What I did is the folowing:
    1. In a existing project I extended the default base-classes to create our own layer
    2. created a project called ModelShared
    2a. configured the project to use the base-classes I created in step 1
    2b. created an entitybased-viewobject (RefCodesByDomain)
    2c. created bc deployment-descriptors
    3. created a project called RelatieModel in the same workspace as ModelShared
    3a. added dependencies to the deployment-descriptors as well as the project created in step 2
    3b. configured the project to use the base-classes I created in step 1
    3c. imported business components
    Although I did not recieve any errors during the import of business components, I am unable to add the vo (RefCodesByDomain) to a service.
    I do see the package which contains the vo but is has no entries.
    Importing the business components to a new BC Project in a seperate workspace did succeed (I could reuse the vo).
    I tested a little further and the folowing occurred:
    4. I created a new vo in the ModelShared Project
    5. I deployed the ModelShared
    6. Restarted JDeveloper
    7. Got the folowing error message in the console window when expanding a service in my datacontrol pallette:
    INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
    1-sep-2008 13:23:27 oracle.adf.dt.controls.DataControlsTreeWillExpandListener treeWillExpand
    FINER: THROW
    java.lang.NullPointerException
            at oracle.adf.dt.objects.JUDTViewReferenceAccessorDefinition.init(JUDTViewReferenceAccessorDefinition.java:108)
            at oracle.adf.dt.objects.JUDTViewReferenceAccessorDefinition.<init>(JUDTViewReferenceAccessorDefinition.java:98)
            at oracle.adfdt.internal.meta.bc4j.BC4JDataControlDefinition.createViewObjectDefinition(BC4JDataControlDefinition.java:228)
            at oracle.adfdt.internal.meta.bc4j.BC4JDataControlDefinition.addViewObjects(BC4JDataControlDefinition.java:208)
            at oracle.adfdt.internal.meta.bc4j.BC4JDataControlDefinition.loadStructure(BC4JDataControlDefinition.java:110)
            at oracle.adfdt.internal.meta.bc4j.BC4JDataControlDefinition.getStructure(BC4JDataControlDefinition.java:407)
            at oracle.adf.dt.controls.treemodel.jsr227.JSR227DataControlTreeNode.loadChildNodes(JSR227DataControlTreeNode.java:129)
    8. In my other "fresh" bc project I was able to use the newly created vo.
    9. When I added a VO to my shared project, all projects that are refering to the shared project loose their vo's in the data-controlpannel
    Do you have any suggestions?
    Regards,
    Romano

    Hi,
    since this appears to be a WebCenter related issue, I suggest to try the Webcenter forum WebCenter Portal or to log a bug
    Frank

  • JDev10.1.2: Importing business components problem

    Hi guys, I hope someone could help me here:
    I have a business components project; from it I created a business components archive (deployment profile), and this profile generates two jar files. One jar file contains the business components and the other one just contains the application modules' interfaces.
    Then I imported the business components into another model project (in another workspace) from the jar files using File / Import / Business Components and selecting the package's xml file.
    Then I have a third View project which will have bindings to the last model project. The problem is that in the Data Control Palette the application modules appear with no interface methods (just Commit and Rollback).
    What should I do to make the View project's Data Control Palette aware of the application modules' interface methods so I can bind them to Data Actions?
    Thanks very much!

    repost

  • Unable to import package. This file is not a Business Components XML file

    Hi,
    I am using Jdeveloper 9.0.3(Build 1325) and trying to extend a VO. Project > Import Business Components and select the VO, AM or EO xml because Sourcing Negotiation creation does not have a server.xml and I am getting the following message "Unable to import package. This file is not a Business Components XML file.". Should I make something else to enable extension?? Does a patch required to make extensions. Any help would be appreciated.

    What I know is that server.xml is not a must. This is the easiest way to import appropriate xml files. My question is, when I am trying to Project>Import Business Components > xxxVO.xml I am getting the above error although the xxxVO.xml is a Business Component. I wanna know that should some patch be applied to Jdeveloper (Build 1325)?? (by the way at first I tried with Build 1312 and the same error raised)

  • Multiple ADF Business Components projects for one ADF project

    I have an ADF project where I have my own ADF Business Components Model, with View Objects, etc. Can I add another ADF Business Components from another project - they access a different database than I do with queries that I could use.

    I see two options:
    1. rename one of your Model.jpr to somthing else and then try again to add a dependency.
    2. create a jar out of the second model project and import the applcation module out of the jar into the other project. To import use file->import and select 'Business Components' from the list. Check tho docs ("Importing Business Components Created by Someone Else")

  • Business Components Import problem

    Hi,
    I am having trouble using the Imports option in the Project Properties of my Model project (Project Properties -> Business Components -> Imports). I have a jar that I want to import to the project. However, when I click the Import button, locate my file and click Open, nothing happens. It doesn't import the jar, nor does it close the Import File dialog.
    Is this a bug? I am able to get around it for now by modifying the Model.jpr and Model.jpx files but this isn't a long term solution.
    Thanks,
    Tracy

    If you are attempting to import ADF BC objects packaged in a jar/adflib this is a known issue in the preview that has been resolved in more recent builds.
    --Ric                                                                                                                                                                                                                                                                                                                                       

  • BUG 10.1.3 EA -- BME-99003 in Business Components Diagram with imported EOs

    Following a hands-on exercise in the Oracle JDeveloper 10g Handbook (pages 343 - 345):
    -- Create new application workspace, say HRApp, using default Web Application Template.
    -- Edit Model project properties to create new library with classpath that points to business domain objects in a project folder from a different workspace.
    -- Import the Business Components from the other project's folder, say "businessdomain.xml".
    -- Create a BC Diagram in the Model project of the HRApp application.
    -- Create a new View Object in the BC Diagram by dragging from Component Palette, rename to "JobsView".
    -- Drag entity object representation from new library, say "Jobs.xml" onto View Object.
    -- See error message below.
    Johnny Lee
    Message
    BME-99003: An error occurred, so processing could not continue.
    Cause
    The application has tried to de-reference an invalid pointer. This exception should have been dealt with programmatically. The current activity may fail and the system may have been left in an unstable state. The following is a stack trace.
    java.lang.NullPointerException
         at oracle.jbo.dt.modeler.diagram.dropHandler.BC4JXMLDropHandler.processObjects(BC4JXMLDropHandler.java:82)
         at oracle.bm.addinUtil.IDEAppContext$4.performAction(Unknown Source)
         at oracle.bm.diagrammer.LockMonitor.performLockedAction(Unknown Source)
         at oracle.bm.diagrammer.BaseDiagram.performDiagramLockedAction(Unknown Source)
         at oracle.bm.addinUtil.IDEAppContext.dropNavigatorNodeLater(Unknown Source)
         at oracle.bm.addinUtil.IDEAppContext$5.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.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)
    Action
    If further errors occur, you should restart the application.
    Also, report the problem on the JDeveloper forum on otn.oracle.com, or contact Oracle support, giving the information from this message.
    ________________________________________________________________________________

    We have not been able to reproduce the exact same error, there would be a problem if we were trying to write to the library file, as those objects are read only, of course. Can you tell me, the entity object that you are referencing, has it ever appeared on a diagram? An easy way to tell, if you don't know is by looking at its XML file and see if it has an ID=some long string entry.

  • Help required building ADF-Swing/ADF-Faces using ADF Business Components

    My question is in regards to how you can go about building a light swing application to an ADF model?
    In particular if I were to say that we were developing a 3-tier project whereby we had a database tier, a series of EJB-ADF façade session beans to the database (middle-tier), and a swing client communicating with the session beans (view-controller tier), how would you go about developing these screens?
    In particular can we develop these screens using ADF-Faces and also ADF-Swing?
    The EJB session façade beans of course are ADF app modules with customised methods. The methods would return back customised DTO objects. These DTO objects are wrappers to row objects ADF would create. This would be mainly due to making these facade beans web service enabled (Oracle state that these methods cannot return oracle.jbo objects if they are to be web service enabled).
    This would be typically deployed to an app server, like Oracle App Server 10G.
    Could you please have a look at this, as I am doing a lot of research into this.
    eg. Taking example from oracle magazine sept/oct 2006
    with slight enhancements
    package oramag.frameworks.example.common;
    import oracle.jbo.ApplicationModule;
    import oramag.frameworks.customdto.EmployeeDTO;
    public interface HRService extends ApplicationModule {
    void deleteCurrentEmpAndCommit();
    EmployeeDTO findEmployee(int employeeId); // new method
    import oramag.frameworks.customdto.EmployeeDTO;
    public class HRServiceImpl extends ApplicationModuleImpl {
    public void deleteCurrentEmpAndCommit() {
    Row empRow = getEmpView().getCurrentRow();
    if (empRow != null) {
    empRow.remove();
    getDBTransaction().commit();
    public EmployeeDTO findEmployee(int employeeId)() {
    EmployeeDTO employeeDTO = null;
    EmployeesImpl employees = getEmployees();
    employees.setNamedWhereClauseParam("EmployeeId", employeeId);
    employees.executeQuery();
    if(employees.hasNext()) {
    EmployeesRowImpl employee = (EmployeesRowImpl)employees.next();
    employeeDTO = new EmployeeDTO(employee);
    return employeeDTO;
    public EmployeesImpl getEmployees() {
    return (EmployeesImpl)findViewObject("Employees");
    Now given the above code snippet, how could you turn this into an ADF-Swing/ADF Faces application so that if a user using the swing application enters an employee id, then the application will execute the query on the app server, the app server in turn returns the results to the client, and the client finally display the results. Typical MVC example.
    Cheers
    Rodney

    The tutorial is for ADF BC used with JavaServer Faces.
    While the tutorial doesn't cover it, we also support drag and drop development for Swing and visual WYSIWYG layout for Swing panels and windows, too. For a very simple example, watch screencast #4 on my blog here:
    http://radio.weblogs.com/0118231/stories/2005/06/24/jdeveloperAdfScreencasts.html
    One thing I have noticed is that when using ADF business components, when the app module returns a custom DTO object like the above example, it returns the data in a element structure according to the data control palette.
    You don't generally ever need to create your own custom DTO's when working with ADF for use by client UI's. The only situation where can be necessary -- until we simplify this in the JDeveloper/ADF 11g release -- is when you desire to expose custom methods that can return sets/arrays of typed row structures through a web service. However, web services are not involved/required in building 3-tier Swing applications.
    When dropping onto a page it does so like a string and doesnt give option to display the data in a read only form etc. Is there anything we need to do, to get the functionality.
    It's more of what you don't need to do :-)
    Just leverage the active data model that the ADF application module provides. You can read more about it in section 4.5 "Understanding the Active Data Model" of the ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center at http://www.oracle.com/technology/products/adf/learnadf.html). Your UI's bind to view object instances in the data model, and your UI's are automatically kept up to date without needing to write methods that return data. I short article I wrote that preceeded my writing the ADF Developer Guide content on this topis is here:
    http://radio.weblogs.com/0118231/stories/2006/01/26/theAdfBusinessComponentsActiveDataModel.html
    I know that when dropping a view object you get this functionality. Also was wondering if we were to pass an object of thios type back to the model it might not give us the rich functionality like input forms, like what Oracle provides if we were to drop a enitity view object.
    Just use the active data model and everything becomes totally easy, with no changes required to switch between local or three-tier deployment configurations.
    Trying to do everything with hand-coded DTO beans is really going the hard way.
    Could you help us regarding this?

  • Integrating ADF Business Components from heterogenous data sources

    Hi all,
    has anybody experience in integrating ADF Business Components from heterogenous data sources like ViewObjects from a DB2 database as LOV in a ViewObject from a Oracle 11g?
    What is the best practice approach to integrate such different ADF Business Components in declarative and programmatic ways?
    Thank you!

    thank you for the answer! We already updated out BC according to http://www.oracle.com/technetwork/developer-tools/jdev/multidatabaseapp-085183.html
    The DB2 ViewObjects are exported as ADF Libraries and imported in the BC of the project with Oracle DB ViewObjects. In the root AM I created instances from the imported DB2-ViewObjects as well as from the Oracle-ViewObjects, but when I start AM test environment it takes the preconfigured Data Source of the root AM. So I probably will pesneed to create two AMs for the different ViewObject types and for the two connection types. My question is what will be best practices to use data from the DB2-VO of AM_DB2 in the OracleDB-VOs as part of AM_Oracle? Should it be done only programmatically or can it be done also declaratively and any suggestions how to proceed?
    Thank you!
    Edited by: nbo on Jun 3, 2012 2:53 AM

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

  • How do we use our .jar file of Re-Usable Business Components in 11g?

    Hi All:
    We have developed a library of re-usable Business Components in 10g utilizing the instructions found here:
    http://download-west.oracle.com/docs/cd/B31017_01/web.1013/b25947/bcadvgen007.htm
    We are now planning on migrating to 11g, so we need to know how to implement this re-usable business component library.
    Is it possible to use it as it stands created in 10.1.3.3?
    Or do we have to migrate it over? And how is this done since we still have applications that use it in 10g?
    Your input is very appreciated since this is an important step in our migration plan. Doing this correctly is crucial to our shop. We have been trying a few things, so far with no luck.
    Thanks very muich.
    Mary
    UofW

    Shay:
    My colleague that received the errors is going to unexpectedly be off for a few days, so I tried to re-create the errors so that I could get back to you. What was essentially happening was that on certain tables, the first column was missing from the EntityImpl. These tables MIGHT be those that had a primary key that when JDev removed the underscore, had the same name as the Oracle table. For example the table name was ResidenceCode and the primary key of that table was Resident_Code and was found as the first column in the table. HOWEVER, when I tried migrating our reusable business components libarary .jar file, using 11.1.1.2.0, I did not experience the same errors, so I'll get back to you. She was perhaps using an older version of 11g?
    But I do have one question. Can we use a .jar file of reusable business components built in 10g in 11g? As you can imagine, this library is being used in other applications, and we'd like to prevent having two copies, if at all possible. Because of all the structural changes, I am guessing we can't, but I'd really appreciate your reply.
    I have found the documentation *36.7 Working with Libraries of Reusable Business Components* at http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcadvgen.htm#CHEFECGD with respect to 11g. If you know of any other 11g considerations with respect to this task, that would be great as well.
    Thanks Shay, I really appreciate hearing from you.
    Mary
    UofW

  • How to use an existing data model using Business Components in OEPE

    I am a beginner in ADF. I am working on a project with an existing data model that uses Business Components (EO, VO and AM). I know that OEPE does not handle the creation of BC, so if I want to modify them, I will have to do that in JDev. That's fine.
    OEPE can create pages with drag and drop like in JDev. In my eclipse ADF projects, I would like to use the existing BC, to be able to use the bindings with ADF Faces. So far I have nothing in the Data Controls tab.
    How to import the BC into the Data Controls tab?
    JDev 11.1.1.6
    WLS 10.3.6
    Eclipse Kepler

    We currently don't support DataControls based on the ADF BC technology. We will consider such support if there is a strong interest in that use case.
    Independent of the IDE's you use, there are ways to expose services based on ADF BC that can then be consumed by the view layer. A Google search will point you to some of the approaches.
    HTH. Thanks for your interest in OEPE.

  • Business packages, Business Functions and Business Components

    Dear All,
    I am new to ESS/MSS.
    We are going to implement the following applications. (Company is Indian based).
    Version : EHP6 and Portal 7.3
    1. Employee Search
    2. Personal Information
    2. Working Time
    3. Benefits and Payments (Reimbursements, Salary Advance, URL iviews have to create for PF and ESI)
    4.Travel Management (No 3rd party integration for booking tickets)
    5. Performance Management Systems (360* Degree Appraisal)
    6. E- Separation
    7. Corporate Information
    8. E- Recruitment
    9. MSS
    What are the Business Packages have to deploy?
    What are the Business Functions have to deploy?
    What are the Business Components have to deploy?
    Regards
    Somu

    What are the Business Packages have to deploy?
    In portal side you need to deploy the below packages.
    ->  BP ERP05 ESS 1.41
    ->  BP ERP05 MSS 1.51
    ->  BP ERP05 COMMON PARTS 1.51
    -> BPERPESSWDA1.50
    ->  BP MSS ADDON 1.0
    -> BP Recruiter
    -> BP Recruiter Administrator
    If you want implement TMS applications then you required below BP's
    ->  BP ERP TMS 1.51              
    ->  BP ERP05 TALENT DEV 1.01
    And the components should be SP level compatibility with SAP ECC system
    -> SAP ESS
    -> SAP MSS
    -> SAP PCUI_GP
    What are the Business Functions have to deploy?
    You need to activate the below BF's in ECC HR system
    HCM_ESS_CI_1
    HCM_ESS_WDA_1 
    HCM_ESS_WDA_2
    HCM_MSS_WDA_1
    HCM_MSS_WDA_2
    FIN_TRAVEL_1
    FIN_TRAVEL_2
    FIN_TRAVEL_3
    HCM_ASR_CI_1
    HCM_ASR_CI_2
    HCM_ASR_CI_3
    HCM_ECM_CI_1
    HCM_ECM_CI_2
    HCM_LSO_CI_1
    HCM_LSO_CI_2
    HCM_LSO_CI_3
    HCM_OSA_CI_1
    HCM_OSA_CI_2
    HCM_PD_UI_1
    HCM_TMC_CI_1
    HCM_TMC_CI_2
    CA_HAP_CI_1
    HCM_OSA_CI_1
    HCM_OSA_CI_2
    HCM_TMC_CI_1
    HCM_TMC_CI_2
    HCM_HCP_CI_1
    HCM_ECM_CI_2
    HCM_ERC_CI_4
    HCM_PD_UI_1
    FIN_CO_MSSBUA_NWBC
    FIN_REP_SIMPL_1
    ERP_ENTERPRISESEARCH
    What are the Business Components have to deploy?
    In ECC side import the addon components based on your system component levels.
    MSS Addon 1.0
    ERECRUTIMENT

  • Import Business Catalyst site button not working

    I have installed Dreamweaver and activated it. I am trying to import a draft site which I developed on an old computer and the "Import Business Catalyst site" button does nothing. Likewise in the Bus Cat side panel, the "Get Started" button starts nothing.
    Does anyone know what the problem may be?

    This is encouraging (not) I have asked a very similar question today  but I see you have received no assistance after a week !!

  • Adf business components n Ejb Concepts

    peoples. sorry for asking this silly doubts.
    reason behind this question.
    most often use the adf business components i doesnt know it. but now i am learning with help experts blogs. In some blogs, peoples using Ejb concepts.
    but ,some what i know ejb.
    My doubt:
    for desiging an transaction oriented projects. and multiple peoples work on my form.
    what should i use.
    ejb or adf business componets. which is suitable for the transaction orientation.
    please guide me.....

    Either is suitable for transaction semantics.
    Which one you choose would likely depend upon your background. If you are already well versed in EJB/JPA, then you would follow that approach. If you are already versed in ADF BC or Oracle Forms, then ADF BC would be a logical choice. I will also say that Oracle seems to have invested more effort in the ADF BC side of things, so if you are still undecided, then maybe that observation can sway you to the ADF BC side.
    john

Maybe you are looking for

  • RAR: Error message while running role risk analysis.

    Hi All,          We are implementing RAR 5.3. When running permission level risk analysis we get the following error message: "Error while executing the Job:Cannot assign a blank-padded string to host variable 1.u201D This happens only at permission

  • 4.2.1 killed the Keyboard Clicks on my iPad

    Keyboard Clicks worked right up to the point that I installed 4.2.1. Now they don't work at all. Or almost at all. They will work on the initial password screen. They also work on the Settings->General->Sounds page. But no where else. I've turned all

  • Tax code  in procedure TAXINJ is invalid

    Hi Users User try to print u2018Delivery Chalanu2019- 291 movt is used to return materials to vendor. Fyi.  ZM001 is the  Tcode- user getting a error message  (Tax code  in procedure TAXINJ is invalid) pl help asap. Thanks & Regards, Siva

  • Portal Partner Sub-account Switch

    I switched my Verizon portal partner from Yahoo to Windows Live w/o any problems.  At the Windows Live sign in page, I can sign in with my @verizon.net email address.  The problem is with a sub-account I manage.  At the Windows Live sign in page my s

  • Premiere crashes when linking media

    Hi there, Premiere crashes almost every time I try to link media. The project file is on the computer's C drive, which has 1TB spare, the graphics card is using its latest driver and the machine is almost brand new. The media is 4K RED files on 2TB U