Business Components Client Methods

I have a question regarding BC4J and client-callable custom methods.
There are certain custom methods (ie to retrieve xml for that object and parse it with a stylesheet), that I've written for my BC4J Viewobjects that all ViewObjects in my project will be requiring.
So far, I've had to copy and paste the code required for these methods into each view object I create. This seems very inefficient, yet inheritance is out since all view objects already inherit from the oracle.jbo.server.ViewObjectImpl class.
Is there anyone who has found a more elegant solution for doing this?

Danny,
There's no requirement that your view object inherit exactly the oracle.jbo.server.ViewObjectImpl class. The only requirement is that they ultimately derive from that class. That means that you are free to subclass ViewObjectImpl with your own com.clinicare.framework.ViewObjectImpl and then use this enhanced version of ViewObjectImpl as the base class for all the View Objects you create in BC4J.
You could of course manually change the base class for each one as you create them, but a better way is to "teach" the BC4J design time wizards about your preferred framework base class specializations and then the wizards will default your classes instead of the default class names.
See the Framework Base Classes tab of the Wizards | Business Components Properties wizard to set these.

Similar Messages

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

  • Unable to call exported client methods of EJB session bean remote interface

    I am unable to call client methods of a BC4J application module deployed as a Session EJB to Oracle 8i at the client side of my multi-tier application. There is no documentation, and I am unable to understand how I should do it.
    A business components project has been created. For instance, its application module is called BestdataModule. A few custom methods have been added to BestdataModuleImpl.java file, for instance:
    public void doNothingNoArgs() {
    public void doNothingOneArg(String astr) {
    public void setCertificate(String userName, String userPassword) {
    theCertificate = new Certificate(userName, userPassword);
    public String getPermission() {
    if (theCertificate != null)
    {if (theCertificate.getPermission())
    {return("Yes");
    else return("No, expired");
    else return("No, absent");
    theCertificate being a protected class variable and Certificate being a class, etc.
    The application module has been tested in the local mode, made remotable to be deployed as EJB session bean, methods to appear at the client side have been selected. The application module has been successfully deployed to Oracle 8.1.7 and tested in the remote mode. A custom library containing BestdataModuleEJBClient.jar and BestDataCommonEJB.jar has been created.
    Then I try to create a client basing on Example Oracle8i/EJB Client snippet:
    package bestclients;
    import java.lang.*;
    import java.sql.*;
    import java.util.*;
    import javax.naming.*;
    import oracle.aurora.jndi.sess_iiop.*;
    import oracle.jbo.*;
    import oracle.jbo.client.remote.ejb.*;
    import oracle.jbo.common.remote.*;
    import oracle.jbo.common.remote.ejb.*;
    import oracle.jdeveloper.html.*;
    import bestdata.client.ejb.*;
    import bestdata.common.ejb.*;
    import bestdata.common.*;
    import bestdata.client.ejb.BestdataModuleEJBClient;
    public class BestClients extends Object {
    static Hashtable env = new Hashtable(10);
    public static void main(String[] args) {
    String ejbUrl = "sess_iiop://localhost:2481:ORCL/test/TESTER/ejb/bestdata.BestdataModule";
    String username = "TESTER";
    String password = "TESTER";
    Hashtable environment = new Hashtable();
    environment.put(javax.naming.Context.URL_PKG_PREFIXES, "oracle.aurora.jndi");
    environment.put(Context.SECURITY_PRINCIPAL, username);
    environment.put(Context.SECURITY_CREDENTIALS, password);
    environment.put(Context.SECURITY_AUTHENTICATION, ServiceCtx.NON_SSL_LOGIN);
    BestdataModuleHome homeInterface = null;
    try {
    Context ic = new InitialContext(environment);
    homeInterface = (BestdataModuleHome)ic.lookup(ejbUrl);
    catch (ActivationException e) {
    System.out.println(e.getMessage());
    e.printStackTrace();
    System.exit(1);
    catch (CommunicationException e) {
    System.out.println(e.getMessage());
    e.printStackTrace();
    System.exit(1);
    catch (NamingException e) {
    System.out.println(e.getMessage());
    e.printStackTrace();
    System.exit(1);
    try {
    System.out.println("Creating a new EJB instance");
    RemoteBestdataModule remoteInterface = homeInterface.create();
    // Method calls go here!
    // e.g.
    // System.out.println(remoteInterface.foo());
    catch (Exception e) {
    System.out.println(e.getMessage());
    e.printStackTrace();
    It doesnt cause any errors. However, how must I call methods? The public interface RemoteBestdataModule has no such methods:
    void doNothingNoArgs();
    void doNothingOneArg(java.lang.String astr);
    void setCertificate(java.lang.String userName, java.lang.String userPassword);
    java.lang.String getPermission();
    Instead of that it has the following methods:
    oracle.jbo.common.remote.PiggybackReturn doNothingNoArgs(byte[] _pb) throws oracle.jbo.common.remote.ejb.RemoteJboException, java.rmi.RemoteException;
    oracle.jbo.common.remote.PiggybackReturn doNothingOneArg(byte[] _pb, java.lang.String astr) throws oracle.jbo.common.remote.ejb.RemoteJboException, java.rmi.RemoteException;
    oracle.jbo.common.remote.PiggybackReturn customQueryExec(byte[] _pb, java.lang.String aQuery) throws oracle.jbo.common.remote.ejb.RemoteJboException, java.rmi.RemoteException;
    oracle.jbo.common.remote.PiggybackReturn setCertificate(byte[] _pb, java.lang.String userName, java.lang.String userPassword) throws oracle.jbo.common.remote.ejb.RemoteJboException, java.rmi.RemoteException;
    oracle.jbo.common.remote.PiggybackReturn getPermission(byte[] _pb) throws oracle.jbo.common.remote.ejb.RemoteJboException, java.rmi.RemoteException;
    I cannot call those methods. I can see how they are called in BestdataModuleEJBClient.java file:
    public void doNothingNoArgs() throws oracle.jbo.JboException {
    try {
    oracle.jbo.common.remote.PiggybackReturn _pbRet = mRemoteAM.doNothingNoArgs(getPiggyback());
    processPiggyback(_pbRet.mPiggyback);
    if (_pbRet.isReturnStreamValid()) {
    return;
    catch (oracle.jbo.common.remote.ejb.RemoteJboException ex) {
    processRemoteJboException(ex);
    catch (java.rmi.RemoteException ex) {
    processRemoteJboException(ex);
    throw new oracle.jbo.JboException("Marshall error");
    However, I cannot call getPiggyback() function! It is a protected method, it is available to the class BestdataModuleEJBClient which extends EJBApplicationModuleImpl, but it is unavailable to my class BestClients which extends Object and is intended to extend oracle.jdeveloper.html.WebBeanImpl!
    It seems to me that I mustnt use RemoteBestdataModule interface directly. Instead of that I must use the public class BestdataModuleEJBClient that extends EJBApplicationModuleImpl and implements BestdataModule interface. It contains all methods required without additional arguments (see just above). However, how must I create an object of BestdataModuleEJBClient class? That is a puzzle. Besides my custom methods the class has only two methods:
    protected bestdata.common.ejb.RemoteBestdataModule mRemoteAM;
    /*This is the default constructor (do not remove)*/
    public BestdataModuleEJBClient(RemoteApplicationModule remoteAM) {
    super(remoteAM);
    mRemoteAM = (bestdata.common.ejb.RemoteBestdataModule)remoteAM;
    public bestdata.common.ejb.RemoteBestdataModule getRemoteBestdataModule() {
    return mRemoteAM;
    It looks like the remote application module must already exist! In despair I tried to put down something of the kind at the client side:
    RemoteBestdataModule remoteInterface = homeInterface.create();
    BestdataModuleEJBClient dm = new BestdataModuleEJBClient(remoteInterface);
    dm.doNothingNoArgs();
    Of course, it results in an error.
    System Output: null
    System Error: java.lang.NullPointerException
    System Error: oracle.jbo.common.PiggybackOutput oracle.jbo.client.remote.ApplicationModuleImpl.getPiggyForRemovedObjects(oracle.jbo.common.PiggybackOutput) (ApplicationModuleImpl.java:3017)
    System Error: byte[] oracle.jbo.client.remote.ApplicationModuleImpl.getPiggyfront(boolea
    System Error: n) (ApplicationModuleImpl.java:3059)
    System Error: byte[] oracle.jbo.client.remote.ApplicationModuleImpl.getPiggyback() (ApplicationModuleImpl.java:3195)
    System Error: void bestdata.client.ejb.BestdataModuleEJBClient.doNothingNoArgs() (BestdataModuleEJBClient.java:33)
    System Error: void bes
    System Error: tclients.BestClients.main(java.lang.String[]) (BestClients.java:76)
    I have studied a lot of documents in vain. I have found only various senseless discourses:
    "Use the Application Module Wizard to make the Application Module remotable and export the method. This will generate an interface for HrAppmodule (HrAppmodule.java in the Common package) which contains the signature for the exported method promoteAllEmps(). Then, deploy the Application Module. Once the Application Module has been deployed, you can use the promoteAllEmps() method in your client-side programs. Calls to the promoteAllEmps() method in client-side programs will result in calls to the promote() method in the application tier."
    However, I have failed to find a single line of code explaining how it should be called.
    Can anybody help me?
    Best regards,
    Svyatoslav Konovaltsev,
    [email protected]
    null

    Dear Steven,
    1. Thank you very much. It seems to me that the problem is solved.
    2. "I logged into Metalink but it wants me to put in both a tar number and a country name to see your issue." It was the United Kingdom, neither the US nor Russia if you mean my issue.
    I reproduce the text to be written by everyone who encounters the same problem:
    package bestclients;
    import java.util.Hashtable;
    import javax.naming.*;
    import oracle.jbo.*;
    public class BestdataHelper {
    public static ApplicationModule createEJB()
    throws ApplicationModuleCreateException {
    ApplicationModule applicationModule = null;
    try {
    Hashtable environment = new Hashtable(8);
    environment.put(Context.INITIAL_CONTEXT_FACTORY, JboContext.JBO_CONTEXT_FACTORY);
    environment.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_EJB);
    environment.put(Context.SECURITY_PRINCIPAL, "TESTER");
    environment.put(Context.SECURITY_CREDENTIALS, "TESTER");
    environment.put(JboContext.HOST_NAME, "localhost");
    environment.put(JboContext.CONNECTION_PORT, new Integer("2481"));
    environment.put(JboContext.ORACLE_SID, "ORCL");
    environment.put(JboContext.APPLICATION_PATH, "/test/TESTER/ejb");
    Context ic = new InitialContext(environment);
    ApplicationModuleHome home = (ApplicationModuleHome)ic.lookup("bestdata.BestdataModule");
    applicationModule = home.create();
    applicationModule.getTransaction().connect("jdbc:oracle:kprb:@");
    applicationModule.setSyncMode(ApplicationModule.SYNC_IMMEDIATE);
    catch (NamingException namingException) {
    throw new ApplicationModuleCreateException(namingException);
    return applicationModule;
    package bestclients;
    import bestdata.common.*;
    import certificate.*;
    public class BestClients extends Object {
    public static void main(String[] args) {
    BestdataModule bestdataModule = (BestdataModule)BestdataHelper.createEJB();
    Certificate aCertificate = new Certificate("TESTER", "TESTER");
    //calling a custom method!!
    bestdataModule.passCertificate(aCertificate);
    Thank you very much,
    Best regards,
    Svyatoslav Konovaltsev.
    [email protected]
    null

  • How to create "Business Components Package" in the Jdeveloper ?

    Hi,
    I installed and set up "Patch 7523554 10G Jdeveloper With OA Extension ARU for R12 RUP6"
    I have ran out the test_fwktutorial.jsp and test_fwklabsolutions.jsp.
    All links work properly on these pages.
    I created HelloWorld page from "Oracle Application Framework Toolbox Tutorials".
    Its works properly too.
    Then I started to create "Search Page".
    I created "Business Component project" in the toolbox.jws.
    I was trying to perform step 2.1 "Create the BC4J Package for Client (UI) Objects".
    But I didn't find "Business Components Package" in the context menu.
    Could you give me advice how can I create package of this kind ?
    Thanks.

    I created "OA Workspace" and simultaneously with it created "Business Components Package" <yourname>.oracle.apps.ak.employee.
    After this it i necessary to creates one more "Business Components Package" <yourname>.oracle.apps.ak.schema.server
    I failed to create Package of this kind.
    In the "BC4J Tutorial" It seems to me I found similr actions.
    I suppose I may perform next step:
    Figure 6-3 http://download.oracle.com/docs/html/A97671_01/wtgbc4j.htm#BABIAIEI
    Figure 6-4 http://download.oracle.com/docs/html/A97671_01/wtgbc4j.htm#BABJIIII
    But I failed to pass these steps.
    Could you tell me, please, how to do this?
    Thanks.

  • 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

  • Customizing Business Components Error Messages sample

    hi i have been following this sample and this: http://jobinesh.blogspot.de/2011/03/customizing-business-components-error.html,i have follow the instruction but its not working win my application i re-create the problem,i have check with the working sample i have done everything i can see be done in the working sample but mine still not work can somebody check what am i missing i have upload in this hostfile i used hr schema http://www.datafilehost.com/download-9d37bd8a.html. am using jdeveloper 11.1.1.6.0
    i have created the two class and one of them
    <Application xmlns="http://xmlns.oracle.com/adfm/application"
                 version="11.1.1.59.23" id="DataBindings" SeparateXMLFiles="false"
                 Package="view" ClientType="Generic"
                 ErrorHandlerClass="view.CustomErrorHandler"
    what else am i missing what have i not done,i know am mssing something but don't know what,the sample does not show step by step implementation,it just have a working solution,if somebody know step by step  implementation can you pls explain to meEdited by: adf009 on 2013/03/12 12:09 PM
    Edited by: adf009 on 2013/03/20 2:44 PM

    is not working in my application,in my application am checking primary key constraint not unique constrains like in sample is there a diffirent
    this is my class,i have re-create the problem http://www.datafilehost.com/download-9c3e5f17.html
    import java.util.ListResourceBundle;
    public class CustomMessageBundle extends ListResourceBundle {
        private static final Object[][] sMessageStrings =
            new String[][] { { "UAM_ORGUSERSLINK_PK",
                               "Hello, The user Already Belong to this organisation" }, };
        /**Return String Identifiers and corresponding Messages in a two-dimensional array.
        protected Object[][] getContents() {
            return sMessageStrings;
    i have follow steps in the sample
    am geting this log error,instead of geting my error message
    <XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
    javax.servlet.ServletException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[assist03 3099 ].
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.jbo.TooManyObjectsException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25013. Error message parameters are {0=oracle.jbo.Key[assist03 3099 ]}
         at oracle.jbo.server.EntityCache.throwTooManyObjectsException(EntityCache.java:604)
         at oracle.jbo.server.EntityCache.handleDuplicateKey(EntityCache.java:613)
         at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:1020)
         at oracle.jbo.server.EntityCache.replaceForAltKey(EntityCache.java:1820)
         at oracle.jbo.server.EntityImpl.setAttributeValueInternal(EntityImpl.java:4094)
         at oracle.jbo.server.EntityImpl.setAttributeValue(EntityImpl.java:3676)
         at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:3301)
         at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:2012)
         at ecadastre.gov.za.uam.model.entities.UamOrganisationUserImpl.setUsername(UamOrganisationUserImpl.java:137)
         at OrgDetails.onRowCreate(OrgDetails.java:2057)
         at OrgDetails.addMember(OrgDetails.java:1978)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
         at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:279)
         at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)
         at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:402)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         ... 38 morehi can anybody help me please
    Edited by: adf009 on 2013/03/26 4:59 PM

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

  • BUG: Business Components using Datasources on Websphere - statement closed

    Hi,
    This is an unusual combinatation, we are deploying business components projects on websphere with a SQL Server database. This was originally deployed all to Oracle. We have managed to convert the project sucessfully (JDeveloper 10.1.3) and on Websphere, however when we moved our application module configurations (bc4j.xcfg) to use JNDI data sources which works in Jdeveloper, we are encountering problems using websphere with business components and datasources.
    The statement closed error occurs when trying to calling executequery() method on the view object, not the first time the JSP page is accessed, but the second time. Refresh page all is good. Access page again error occurs. Very consistent.
    Our code will often do applicationmodule.findViewObject("name"), if not found then create it, otherwise use the vo and kapow bombs out on the executequery method if reusing the view object.
    ERROR
    DSRA9110E: Statement is closed.oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation.
    Statement: SELECT Groups.GROU_ID FROM GROUPS Groups WHERE (GROU_ID=1)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java(Compiled Code))
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java(Compiled Code))
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java(Compiled Code))
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java(Compiled Code))
    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java(Inlined Compiled Code))
    at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java(Inlined Compiled Code))
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java(Compiled Code))The datasource uses the connection pooling driver class com.microsoft.sqlserver.jdbc.SQLServerConnectionPoolDataSource.
    Ampooling is on. It appears the jdbc prepared statement is being closed but bc4j is expecting to still be open?
    Any ideas on diagnosing the issue or app module config changes greatly appreciated.
    Mark

    Hi Steve,
    This is not a composition association. Actually, this is an association from a table to an intersection (many-to-many) table. The code in my service is based on the SRDemo, see SRServiceImpl#updateSkillsForCurrentStaff(List) and is called on a save button from a shuttle page.
    The current master is the master I want it to belong to. The link to the master gets correctly saved in the database (just as in the SRDemo). We can also navigate from the master view row to the find the detail view row using the generated RowIterator. However, this does not work from the master entity row to the detail entity row. The problem is really at the entity level.
    Thanx
    Olivier

  • Deploying Business Components as CORBA objects in JDev 3.0

    I have two JDeveloper 3.0 projects: a "server" project
    containing business components generated from my Oracle8i schema
    using the wizards, and a "client" project containing an Infobus
    application that uses the business components. I have
    successfully deployed these locally and have now tried to deploy
    the "server" application module as a CORBA object in my Oracle8i
    schema (I have successfully deployed and used the "HelloCORBA"
    tutorial CORBA object).
    When I test my deployment using the Business Component Tester,
    however, I get the following messages:-
    javax.naming.NameNotFoundException
    Nothing bound for specified name.
    Has anyone any idea what I might be doing wrong? I haven't.
    Howard
    null

    Howard,
    Make sure that the JNDI path in the tester is correct.
    The following steps might help you out:
    1.Determine the JNDI path for your CORBA object. You can check
    this in the deployment profile(choose 'Properties' from the
    context menu of the .prf file in the 'deployment' folder. Also,
    you can browse your connection (double click on the connection
    in the 'Connections' folder) to determine the exact path for
    your object.
    2.In the 'Connect' pane of the Tester
    -choose 'Oracle8i' as the 'Middle Tier Server Type'
    -choose the appropriate IIOP connection
    -Make sure that the JNDI path is correct
    This should get it working...
    Please let us know if you have any questions.
    Howard (guest) wrote:
    : I have two JDeveloper 3.0 projects: a "server" project
    : containing business components generated from my Oracle8i
    schema
    : using the wizards, and a "client" project containing an
    Infobus
    : application that uses the business components. I have
    : successfully deployed these locally and have now tried to
    deploy
    : the "server" application module as a CORBA object in my
    Oracle8i
    : schema (I have successfully deployed and used the "HelloCORBA"
    : tutorial CORBA object).
    : When I test my deployment using the Business Component Tester,
    : however, I get the following messages:-
    : javax.naming.NameNotFoundException
    : Nothing bound for specified name.
    : Has anyone any idea what I might be doing wrong? I haven't.
    : Howard
    null

  • Business Components Performance

    We have big client server app that we are planning to migrate to Business Components and Java App. Has anybody suffered performance problems? Is it ok to migrate?

    Type of Deployment? Fat Client? ( Java running in JVM on desktop with Swing? )
    Startup times can be a bear. Particularly if you have lots of tables and lookup tables. Uh...persistent entity objects.
    My current startup runs from 22 seconds ( NT/128MB/PIII-500) to 210 seconds ( W98/32MB/PI-133)... Depending upon app size, recommended a minimum of 64MB real memory committed to the application. As usual, your mileage will vary.
    Once it gets running I've not seen performance problems, but your mileage will vary according to:
    1. How good the SQL is
    2. How well the database is tuned
    3. Hardware on client
    4. Hardware on server
    5. Whether you do everything on the client, or have extensive stored functions and procedures to perform business tasks
    grin Frankly, since we're replacing a custom legacy application, the resulting executable leaves the old app in the dust ( despite Java, bc4j, jdbc and all )
    I am also starting to investing JAR optimizers and native EXE converters. Again, if anyone is further along than me on this I'd appreciate any input.
    null

  • Intermittent bug: Business Components from Tables wizard exception

    Hi JDev team
    Just to flag an exception I periodically get in JDev 11g TP with the Business Components from Tables wizard, once I've pressed Finish in the wizard:
    java.lang.NullPointerException
         at oracle.jbo.dt.ui.pkg.PKEntityThread.createRelatedViewLinks(PKEntityThread.java:1085)
         at oracle.jbo.dt.ui.pkg.PKEntityThread.createTableViews(PKEntityThread.java:966)
         at oracle.jbo.dt.ui.pkg.PKEntityThread.createObjects(PKEntityThread.java:424)
         at oracle.jbo.dt.jdevx.ui.pkg.XPKComponentWizardEntityThread.createObjects(XPKComponentWizard.java:454)
         at oracle.jbo.dt.ui.pkg.PKEntityThread.run(PKEntityThread.java:396)It is raised when the dialog displays showing the work JDev is doing after completing the wizard to create my business components.
    I'm not able to consistently reproduce this issue, though I've encountered it several times. Don't quote me, but it appears to happen the first time I use the wizard in a new JDev session, but is not reproducible again in the same session. However it doesn't always happen when I restart JDev and I'm sorry I can't be more precise.
    Hopefully the exception trace will give you enough information to track this issue down.
    Regards,
    CM.

    Hi Ric
    Unfortunately not really, it's a basic schema we use to test new software. One unusual thing is a hierarchical fk on the same table. But as I said the exception doesn't always occur, but annoyingly does seem to occur when I'm demoing the 11g TP version to clients. I was just hoping the stack trace would help out.
    I'll keep an eye on it and if I can work out why it's occurring I'll update this post.
    Thanks for following this up.
    Cheers,
    CM.

  • Tutorial - Building Business Components

    I am using Oracle JDeveloper3.0 (Build 532) on Windows NT. I am trying to work through the above tutorial, but when I try to invoke the Business Components or New Entity Objects, nothing happens.
    Have not installed some components correctly ? Do I need to make any changes to the Gallery.INI file ?
    Thank you very much for your response..
    Sudarshan

    Sudarshan,
    It should never be necessary for you to edit your gallery.ini to get default installation behavior.
    Are you sure you sucessfully installed JDeveloper?
    My JDeveloper 3.1 Gallery.ini looks as pasted below. Yours should look similar.
    You may have to re-install.
    I hope this helps,
    -John
    [Gallery_Params]
    snippetStorage=E:\JD31\snippets\en
    left=241
    top=88
    width=518
    height=347
    locale=en_US
    [Gallery_Pages]
    Page1=Objects
    Page2=Business Components
    Page3=Web Objects
    Page4=Beans
    Page5=Snippets
    [Gallery_Page1]
    wizard=Application=oracle.jdeveloper.wizard.application.ApplicationWizard
    wizard=Applet=oracle.jdeveloper.wizard.applet.AppletWizard
    wizard=Frame=oracle.jdeveloper.wizard.frame.FrameBuilder
    wizard=Panel=oracle.jdeveloper.wizard.panel.PanelBuilder
    wizard=Dialog=oracle.jdeveloper.wizard.dialog.DialogBuilder
    wizard=Class=oracle.jdeveloper.wizard.cls.ClassBuilder
    wizard=Enterprise JavaBean=oracle.jdeveloper.wizard.ejb.NewEJBWizard
    wizard=CORBA Server Object=oracle.jdeveloper.wizard.corba.CORBAWizard
    wizard=SQLJ File=oracle.jdeveloper.wizard.sqlj.NewSqljBuilder
    wizard=SQL File=oracle.jdeveloper.wizard.sqlplus.NewSQLPlus
    wizard=IDL File=oracle.jdeveloper.wizard.idl.NewIdl
    snippet=Standard Menus - AWT=StandardMenu.snippet=StandardMenu.gif
    snippet=Standard Menus - JFC=SwingMenu.snippet=JFCStandardMenu.gif
    wizard=Business Components Data Form=oracle.jdeveloper.wizard.formgen.dacform.DACFormWizard
    [Gallery_Page2]
    wizard=Business Components=oracle.jbo.dt.ui.main.DtuAppAddin
    wizard=Entity Object=oracle.jbo.dt.ui.entity.EOAddin
    wizard=View Object=oracle.jbo.dt.ui.view.VOAddin
    wizard=View Link=oracle.jbo.dt.ui.viewlink.VLAddin
    wizard=Association=oracle.jbo.dt.ui.assoc.ASAddin
    wizard=Package=oracle.jbo.dt.ui.pkg.PKAddin
    wizard=Application Module=oracle.jbo.dt.ui.module.AMAddin
    wizard=Domain=oracle.jbo.dt.ui.domain.DOAddin
    [Gallery_Page3]
    wizard=HTML=borland.jbuilder.wizard.app.NewHtml
    wizard=JSP=oracle.jdeveloper.wizard.app.NewJsp
    wizard=HTTP Servlet=oracle.jdeveloper.wizard.servlet.ServletWizard
    wizard=DB Servlet=oracle.jbo.dt.ui.formgen.dbservlet.DbServlet
    wizard=Web Bean=oracle.jbo.dt.ui.wizards.webbean.WebBeanWizard
    wizard=Business Components JSP Application=oracle.jbo.dt.ui.wizards.webapp.WebAppWizard
    [Gallery_Page4]
    wizard=Bean=oracle.jdeveloper.wizard.bean.BeanBuilder
    wizard=BeanInfo=oracle.jdeveloper.wizard.bean.BeanInfoBuilder
    wizard=Customizer=oracle.jdeveloper.wizard.bean.CustomizerBuilder
    wizard=Property Editor=oracle.jdeveloper.wizard.bean.PropertyEditorWizard
    wizard=EventSet=oracle.jdeveloper.wizard.bean.EventSetWizard
    wizard=Oracle Forms PJC=oracle.jdeveloper.wizard.pjc.OracleFormsBuilder
    wizard=Enterprise JavaBean=oracle.jdeveloper.wizard.ejb.NewEJBWizard
    [Gallery_Page5]
    snippet=Example Snippet=ExampleSnippet.snippet=ExampleSnippet.gif
    snippet=Example JServer/EJB Client=ExampleJSEJBClient.snippet=ExampleEJBClient.gif
    snippet=Example OAS/EJB Client=ExampleOASEJBClient.snippet=ExampleEJBClient.gif
    snippet=Example JServer/CORBA Client=ExampleCORBAClient.snippet=ExampleCORBAClient.gif
    snippet=Example Wizard/Addin=ExampleWizard.snippet=ExampleWizard.gif
    null

  • AutoSubmit property in business components

    Hello,
    I see that AutoSubmit property can be set in business components. For a VO attribute (or EO) I ca set autoSubmit = true.
    But, this autoSubmit property is not automatically set in UI components generated when drag'n'dropping the same VO in a fragment. I have to change inputs autoSubmit property manually.
    So, I don't understand. What for is the autoSubmit property in business components?

    Yes, It is used primarily for updating 2nd UI Component based on the 1st one's value. Suppose you have two different lists of Countries and States. You should display states of the selected country in the first list.
    Here you can set AutoSubmit=true for the Country list and add States list's partial refresh to the Countries list.
    In this way, when value in the Country list changes, the States list will get an updated. Obviously, you will have to write the method to pick the correct list of states.
    regards,
    Rajan
    It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
    https://forums.oracle.com/forums/ann.jspa?annID=893

  • MapViewer: how to manage user selections in business components Java class

    Hi list,
    I'm a GIS developer with experience on Mapserver and Mapguide. Buit I'm totally new on Oracle Mapviewer and I'm doing a feasibility study on a project where I basically have a very simple GIS use case, but I don't know if it is possible to manage by use Oracle ADF Java API and Oracle Mapviewer.
    I would like to use JDeveloper / ADF Business Components / ADF Faces.
    This is the use case:
    - Mapviewer should display a polygon layer from Oracle Spatial
    - Mapviewer should display a polygon layer from WFS
    - User should be able to select a polygon on Oracle Spatial layer and another polygon in WFS layer
    - ADF Face map control should:
    a) hilglight these two polygon
    b) execute my buiseness component Java function passing the user selection (id?... coordinates?... or anything useful to get these two polygons in the business Java function) as parameter.
    Is it possible?...
    Any suggestions (or samples) for point b)?...
    Thanks in advance for any help

    Hi Arnd,
    Thanks for answer.
    Can you adreess me to some ADF project that include ADF Geographic Map control?
    I've carefully studied what explained in manuls contained in JDeveloper Help. I've made something, but I have some issue I can't solve.
    Here you are in details what I've made:
    1) I've installed Mapviewer Quick Starter Kit
    2) I've configured themes and base map by use on MapBuilder
    3) I've built an ADF application with separated business and model-view-controller projects
    4) I've created entities and views in ADF business project
    5) I've created a JSF page in model-view-controller project
    6) I've put inside page an ADF Geographic Map assigning my base map and his related toolbar.
    Up to now it worked fine. My problems started at this point, on the attempt to add themes to be exposed to user interaction.
    PROBLEM 1
    I've seen that there are basically two options to add theme for user interaction:
    a) add a predefined themes
    b) add a color/point/graph bindable themes
    Option b) seems not fit for my needs.
    Color theme is only for regions and forces me to set a range of colors (I want to set exatctly two different color for two different table attribute value).
    Lines seem not covered from any of them.
    So the solution should be option a), predefined themes. But predefined theme seems not selectable and I don't know how to attach a selection listener.
    Please note (about selection listener) that in JDeveloper Help, book "Web User Intercace Developer Guide", "Using ADF Geographic Component" there is a code sample, but the explaination on how to enter the backing bean method is truncated (it says "For example," and stop, nothing else).
    My questions are: predefined theme can be selectable? And how can I attach the selection listener?.
    PROBLEM 2
    Up to now I've made no test on WFS themes, but of course, also these themes should be exposed to user interaction in the same way of predefined layers.
    Is it possible?...
    PROBLEM 3
    Legends activated by ADF Map Toolbar seem not working for predefied themes, they display nothing.
    Is it possible to fix or workaround in some way?...
    PROBLEM 4
    Are there any way to print maps?...
    Best regards
    Francesco

  • Business Components does not appear under samplelib.server

    Hi,
    I am using JDeveloper 9.0.3.5 Build 1437. In the toolbox.jws, I want to see the properties of the VO, VL in oracle.apps.fnd.framework.toolbox.samplelib.server.
    If I switch to category view, I am able to see the source files under the package, in the SOURCES section. But under the Business Components section, I am unable to view the business components for the package.
    Any idea how to make them visible ?
    Thanks,
    Amit

    Hi,
    Network discovery requires that the DNS Client, Function Discovery Resource Publication, SSDP Discovery, and UPnP Device Host services are started, you may check this on both sides to make sure they are started.
    If you have any feedback on our support, please click
    here
    Alex Zhao
    TechNet Community Support

Maybe you are looking for

  • How do i know if my photos are restoring from icloud?

    Yesterday I got a new iphone 5 and am currently doing an icloud restore. My photos say that 0 of 656 are downloading. Does this mean I will eventually get them from the icloud restore? Or did I lose them?

  • Live Web Reports

    Is there any site where I can see the quality of the reports generated with Oracle Reports, and to check how well they print and if the report's data can be exported to excel or other application. Thanks, Otto Quintero. [email protected]

  • SWF EXPORT

    Hi, I'm new to after effects. I'm having trouble with exporting swf files correctly they always end up not working, with a huge file size, or in bad quality. what am i doing wrong?

  • Standard system settings

    Hi all, Could anyone tell me what all <b>settings</b> we need to do when we setup a system?(dev/test/cons/prd Any SAP Notes or documentation available related to standard system settings? Thanks in advance and best regards, Sundar.

  • Flash install on mac

    I'm running mac 10.10.2 and when I try to download flash player it will not.  Message is install interrupted.  I have tried closing safari  and still no success