ADF Swing with POJO Business Service - How To?

Does anyone have or know of any sample code demonstrating an ADF Swing Application
with a Master-Detail on a Business Service implemented through POJOs (not Toplink, but
generic JavaBeans)? Please note that I am not looking for an ADF BC example!
I need to connect to a legacy backend which does not provide a JCA
conforming interface, so using Toplink is out of the question. I will use
vendor-specific technology to retrieve data and put these data into
simple JavaBeans to represent my business layer. On top of this (i. e.
in a 2-tier architecture) I would like to implement a Swing client using
ADF data controls and ADF data bindings.
Thanks for your help,
Sebastian Millies

Hi,
thanks for the (partial) answer. Which blog would that be, by the way?
An additional thought: Chapter 31 of the "Developer’s Guide For Forms/4GL Developers"
10g Release 3 (10.1.3.0), B25947-01 mentions data control adapters as an alternative to
Java Beans to represent the data source. Why is it alternative?
It seems that a data control adapter provides a way to specify available ui controls,
access data source meta data and invoke operations. Couldn't this also be used in the
scenario that I described? Would it be possible to provide the metadata to the
adapter in the form of a BeanInfo class, or an xsd-file generated from a JavaBean?
Perhaps I'm totally off-track here ...
-- Sebastian

Similar Messages

  • Oracle Service Bus business service - How to disable XML content check.

    Hi All,
    Dear Experts I have the necessity to disable the check on the XML content when message is forwarded to external system by on Oracle Service Bus Business Service to avoid that the XML content as string that I inserted in message is wrapped with the CDATA[[.
    Thanks a lot,
    Mike

    There is no explicit option to disable the check on the XML content.
    But the you can use Messaging Service of type Text request which will consider the data as string and so there will be no check.
    If you want to use WSDL/AnyXML/AnySOAP proxies, the XML check is always carried when the $body varaible is not checked/modified when content streaming is enabled while creating the proxy. I'm quite sure HTTP transport supports content streaming and the stream from the input is directly given to BS with out realizing the XML. Only short coming is it should be a pure pass through and no data enrichment and any action in pipeline that requires realizing the XML from the stream.
    Let me know if this helps.
    Thanks
    Manoj

  • ADF DataControl on a Business Service taking a request parameter through url.

    Hi,
    Use Case:
    I have a business service  that contains a method String getPayoad(int b2bMessageId), and then created a data control based on this method. It is not based on BC4J
    I have a jsf page and dropped this data control on the jsf page (payload.jsf).
    Now I want to invoke this jsf page and pass on the b2bMessageId as a parameter from the url like http://....../payLoad?b2bMessageId=98236709865.
    Can someone help me in implementing this use case.
    Thanks.

    Hi,
    thanks for the (partial) answer. Which blog would that be, by the way?
    An additional thought: Chapter 31 of the "Developer’s Guide For Forms/4GL Developers"
    10g Release 3 (10.1.3.0), B25947-01 mentions data control adapters as an alternative to
    Java Beans to represent the data source. Why is it alternative?
    It seems that a data control adapter provides a way to specify available ui controls,
    access data source meta data and invoke operations. Couldn't this also be used in the
    scenario that I described? Would it be possible to provide the metadata to the
    adapter in the form of a BeanInfo class, or an xsd-file generated from a JavaBean?
    Perhaps I'm totally off-track here ...
    -- Sebastian

  • ADF Tree with Boolean Check Box: How to find selected items

    Hi Experts,
    ADF: 11.1.1.5.0
    WLS: 10.3.6
    I am using an ADF Tree which contains elements at two levels (say Departments and Employees). My requirement is to give provision for user to select Departments and Employees using the check boxes. User should be able to select what ever Departments he/she likes and what ever employees he/she likes. There should not be a provision to select Employee with out selecting the corresponding Department (root node in the tree).
    I am facing the below issues while trying to implement this use case:
    1. Always, only the first master record will be expanded by default (I am using "Display Row" property value as "default" and "ExpandAllEnabled" as "true"). My need is to expand all the master records by default. So that user need not explicitly expand each master record node and then select the associated child records.
    2. Currently, I am using value change listener associated to af:selectBooleanCheckBox to identify the Departments and Employee records that have been selected. Since not all departments (masters) are expanded by default, if user selects the check box of department (master) and then expands the department node, automatically all the employees of that department are selected. But, this event is not triggering the value change listener for the employee records. Because of this, after a department node is selected and then expanded, all the child elements' check boxes are selected but the events are not generated. Hence, I am not able to capture the selection of employee records.
    To summarize,
    1. Please let me know how to expand all master nodes in af:Tree by default.
    2. Please let me know the best approach to identify the selected items (both master and detail items) in the af:Tree component using af:selectBooleanCheckBox.
    Thanks in advance,
    Rathnam

    Hi,
                Can you please elaborate the solution? I have a similar problem in
    https://forums.oracle.com/thread/2579664

  • Class path problem with POJO web service

    I created a simple web service manually:
    - created java class;
    - generated web-services.xml
    - coplied web-services.xml into my *.war file, WEB-INF directory.
    This works fine as long as the class that implements web service is in the war file in folder /WEB-INF/classes.
    I need the java class to be in one of the jar files in the folder /WEB-INF/lib. This does not work. I am getting class not found error.
    I tried to modify <java-class> element to specify the jar file (the same way as ejb-link element does):
    <java-class class-name="my.jar#my.Service" name="MyService">
    </java-class>
    This did not help either. How can I specify name of POJO class in the *.jar file?
    Thanks,
    Serguei

    PATH and CLASSPATH are different. PATH is an environment variable used by windows to locate programs. CLASSPATH is an environment variable that java uses to find classes.
    You need to create a new environment variable. The easiest way to do it in win2k (and to keep it after you reboot) is to do this: right click on "My Computer" and click "Properties" (or go to "System" in the control panel). Click on the "Advanced" tab. Click the "Enviroment Variables..." button. In that window, add a system variable by clicking "New..." in the bottom half. Variable Name: "CLASSPATH" Variable Value: ".;J:\Skribe\Tools\mysql-connector-java-3.0.0-beta\mysql-connector-java-3.0.0-beta-bin.jar;J:\jakarta-log4j-1.2.6\dist\lib\log4j-1.2.6.jar"
    You have to make sure that ".;" is the first thing on the line. This tells java to look in the current active directory first for classes it doesn't recognize, then in locations you specify. By default, it just looks in the current directory.
    Hope this helps.

  • With Multiple Management Services, How BIg Is Your Shared Filesystem?

    I am installing Grid Control 11.1 with multiple OMSs. Oracle uses a shared filesystem in this configuration for load balancing and fault tolerance. I want to know from anyone who has installed multiple OMSs: how much storage does Grid Contorl use in the shared file system in your implementation. Please also state how many targets are monitored. Thanks.

    The size of the shared location is dependent upon:
    1. How quickly agent files are processed - If your OMS are going to be down for awhile, size the location to support storing the files until processing can being and catch-up. The files are small but depending on the number of targets this can add up.
    2. Usage of provisioning - Ensure you size to support all the various files used in your provisioning
    We have several hundred targets, two OMS, and make limited usage of provisioning (software and agent installation images). We allocated an NFS share of 50GB but typical usage is <20GB, with 95% of that is due to the provisioning files.

  • Problem with UDDI Business service control

    Hi,
    When i am trying to access UDDI Busuness service control with the following URL
    http://<hostname>:<portno>/registry/uddi/bsc/web
    I am getting the following exception
    UDDI Error
    Error number:      10500
    Error code:      E_fatalError
    Message:      A serious technical error has occurred while processing the request.
    Please help me in this regard.....
    Thanks in advance,
    Mahi.

    Hello!
    In my environment the same problem occured.
    Did you find a solution for the problem?
    Best Regards
    Jürgen

  • I have E62 unlocked with my Tmobile service, how c...

    I followed the instructions on the manual but nothing...... i dont receive incoming emails from my yahoo account and as for the AIM when i go to the IM tab it asks me for the following server info:
    server name - AIM???
    acess point in use - T-zones (to use with my tmobile network)
    web address -????
    user id - i know this
    password- i know this
    HELP
    Also, help me as to how to properly set up my yahoo email account.....im not receive anything and i correctly inputted my incoming and outgoing info....
    HELP..... Also, i dont have OZ..... is it because my phone is unlocked? if so how can i download this??

    T-Mobile in the US? If so, one of the downsides to using an iPhone on an un-supported carrier's network is that some features may not be available, like visual voicemail, FaceTime & MMS.

  • How to set username/password in OSB Business Service

    Hi
    I need to call thirt party http service that utilizes Http Basic authentication i.e. username / password. If I call the same service through Oracle SOA I can either
    put the username/password inside composite.xml but that way the password is visible. So have set the usrname/password insid the console.
    Now want to use OSB to call the sam service. Created business service but where do I add the username/password. Is there a plac inside sbconsole I can set the username password.
    Thanks

    You must a "Service Account" available in OSB and assosciate it with the Business service you invoke.

  • QoS issue with OSB publish to JMS business service

    Hi,
    1. I have a http OSB proxy service which is publishing an audit message to a JMS queue through OSB business service.
    MainProxyService (http) --> Publish (best-effort) --> AuditBusinessService (JMS) --> Audit Queue
    2. I want 'Publish to JMS business service' to be a non-blocking call so that proxy service message flow can continue. Transaction support is disabled in proxy service as well as in JMS connection factory.
    3. As default value of QoS (quality of service) for publish action is best-effort, ideally proxy service should continue its message flow immediately after dispatching the message to publish action and it should not block the main proxy flow.
    4. But in my case, proxy service is blocking the message flow until the message is delivered to JMS business service/JMS queue. This is degrading performance of my application.
    5. I think default 'best-effort' QoS is not working with JMS business service as there is a significant time lag between publish action and its next subsequent action.
    6. If I replace the JMS business service with HTTP business service, then it seems to be a non-blocking call and message flow immediately proceeds to next actions.
    Correct me if I am going wrong anywhere or my understanding is wrong.
    Many thanks.

    HI,
    u can use Conditional Branching
    http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/userguide/modelingmessageflow.html#wp1061670
    Split join would be used in case u need to split your request and call your Business Service in Serial/parallel & then gather resposnes from multiple callouts to have single response
    http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/userguide/splitjoin.html#wp1137258
    Abhinav

  • ADF Swing LOV problem

    Hi,
    I created an application using ADF Swing with JDeveloper version 10.1.3.2.0.4066.
    I made a form contains JTable and Edit Form which using some LOVs to insert or update data. Something weird happen when user insert data using LOV.
    Scenario:
    1. firstly, JTable contains some data, let say 5 records.
    2. User want to input some new data (the sixth record), then user push (+) button in JUNavigationBar, then one new record is added into JTable
    3. User want to edit the new record, then user push Edit button which will display Edit Form
    4. User push button which will display LOV to insert the correct record, after selecting a record from LOV then user push OK button from LOV form, then LOV form will be closed.
    5. User performing commit to permanently save data to database.
    now, the weird part:
    6. User want to input the second record, then user push (+) button in JUNavigationBar, then one new record (the seventh record) is added into JTable
    7. User want to edit the new record, then user push Edit button which will display Edit Form
    8. User push button which will display LOV to insert the correct record, after selecting a record from LOV then user push OK button from LOV form, hoping that LOV form will close but NOT. User need to push OK button twice to make the LOV Form closed.
    so that is the weird thing, if user input the third record (the eighth record), then user need to push OK button three times to make the LOV Form being closed, if user input 100 record then user need to push OK button 100 times to close LOV Form. Weird?
    but if user close the main form first, then display the form again and input the new record using LOV (the seventh record), the weird thing is not gonna happen.
    how I can solve this weird thing?
    thanks

    below is step by step creation of ADF Form and how the error happened and handled (using Oracle JDeveloper 10.1.3.3.0.4157) :
    1. create database connection using JDeveloper wizard.
    a. supply connection name: dbscott
    b. supply username: scott, password: tiger, deploy password is checked.
    c. Driver: thin, hostname, JDBC Port, and SID as installed
    d. test connection: sucess
    2. from JDeveloper, open Application Navigator and then create new application:
    a. application name: ScottApp
    b. application path: default
    c. application package prefix: test.scott
    d. application template: [Swing, ADF BC]
    e. OK button pushed
    3. now, configuring Oracle Business Component:
    a. from Model project, right click and select New
    b. select ADF business component from business tier and select Business Components from tables on the right pane
    c. click OK
    d. select dbscott on the connection option. SQL Flavor and Type MAp: default
    e. click OK
    f. with only object type table is selected, shuttle all table object into selected pane and specify package to test.scott.model.entities
    g. click next
    h. shuttle all object into selected pane and specify package to test.scott.model.queries
    i. click next twice
    j. specify application module: ScottModule
    k. click next and then finish
    4. now, creating ADF Form object
    a. on the View Project, right click and select New
    b. select ADF Swing on the client tier and empty form on the right pane
    c. click OK
    d. supply form name: EmpForm, generate menu bar and generate login dialog option is unselected
    e. click next and then finish
    f. then JDeveloper will display its excellent Swing Editor, select JUNavigationBar on the EmpForm and then delete
    g. click form EmpForm and on data Panel specify layout to FormLayout
    h. on the FormLayout popo up menu, specify rows to 8 and columns to 3, insert gap is selected, click OK of course.
    i. on the data control palette, drag and drop EmpView1 to the first rows and column, then on the Add Child menu select Navigation Bar
    j. select NavigationBar, on the blue point, drag to the third column. right click NavigationBar, select Column Properties menu and click grow. then OK
    k. on the component palette, select Swing Container, drag and drop JScrollPane to the second row and first column
    l. with JScrollPane selected, on the blue point drag JScrollPane so its covers second to seventh row and first to third column
    m. right click on JScrollPane, select Row Properties menu and select Grow. click OK then
    n. on the Data Controls palette, drag and drop EmpView1 to JScrollPane, on the Add Child menu select table.
    5. now, creating ADF Edit Form object:
    a. rigth click on the View Object, select New
    b. select ADF Swing on the client tier and select Empty Panel on the right pane.
    c. Panel name: EditEmpForm, other option default
    d. click next and finish
    e. then JDeveloper will display EditEmpForm editor
    f. on the Data Controls palette, drag and drop EmpView1 to EditEmpForm then select Add Edit Form
    g. then Select Contrl window will be displayed. Click new to add LOV for Deptno
    h. new attribute will be added on the bottom, change attribute to Deptno and its control to Button LOV. create label option for this attribute is unselected.
    i. click OK
    j. adjust width and height the new panel created by JDeveloper properly
    k. in the Application Navigator, double click PanelEmpView1Helper, supply text for Deptno LOV JButton.
    6. configuring Deptno LOV JButton:
    a. with LOV JButton is selected, select model in its property inspector, then model window will be displayed
    b. LOV Update Attribute Tab is active, in Lov (source) Data Collection Pane, select DeptView1 and click New buttion below to create new iterator, click OK to create new iterator for DeptView1.
    c. click add button to add LOV attributes
    d. select deptno in the LOV Attributes and select Deptno in the target attributes.
    c. select LOV Display Attributes, shuttle all attributes to the right pane.
    d. click OK to finish configuring LOV
    7. adding EditEmpForm to EmpForm:
    a. with Empform is active in the editor, from Application Navigator drag and drop EditEmpForm.java to the last row on the first column of EmpForm.
    b. Select Option window will be displayed, select Display Panel in JDialog and Invoke JDialog from Button option is selected
    c. then a JButton will be added to last row on the first colum of EmpForm. Adjust this button to be displayed properly
    Then the creation of ADF Form is complete. We're able to create this powerful form with NO CUSTOM PROGRAMMING AT ALL, it's all because of Oracle ADF. But wait... we will run this scenario to perform how the error happen.
    Assumption, a user want to perform edit and insert data on EmpForm. He will perform following task:
    a. Run EmpForm, then the form will be displayed at runtime.
    b. The user want to edit data first, so he select a row then click Edit button, then EditEmpForm will be displayed.
    c. user edit one or more data, displaying LOV to edit Deptno. at this time, he just need to push OK button at LOV Form once. After completing edit, user close EditEmpForm by clicking OK button, EditEmpForm will be closed.
    d. now, user want to insert new record, simply at EmpForm user click (+) button at navigation bar to create new record, user click Edit button to display EditEmpForm, the user filling new information and of course diplaying LOV to select Deptno, now user need to click OK button in LOV form TWICE to be able to close the LOV Form. The user then click OK button to close EditEmpForm and back to EmpForm.
    e. The user think that just intermittent error, now he want to update data again. So, he do perfectly the same step before but now he need to click OK button from LOV Form THREE TIMES to close LOV Form. The user then click OK button to close EditEmpForm and back to EmpForm.
    f. after thinking hardly why this happened to him, the user then performing commit transaction then close EmpForm and open again.
    g. now user perform update data again but this time he just need to click OK button from LOV form once.
    The above error will not happened if the user open EditEmpForm just once ! if he close and open again EditEmpForm then he need to click and click OK button from LOV Form as many as he open EditEmpForm.
    I don't know why this happen, if something not right from how I create the application which causing this error, please let me know.
    regards,
    wong jowo

  • Conflict between 2 business services for the same SAP R/3 instance

    Hi,
    We developed a packaged solution that connects to SAP R/3 with RFC Adaptor and idoc Adaptor.
    We deliver design and configuration packages defining the entire integration schema between an external system and SAP.
    The configuration defines a business service BS_SAP_R3 containing RFC and idoc communications channels.
    When we deploy and configure the solution (design and config) on a XI instance we have a conflict.
    As the XI already contains a Business Service connecting to the same SAP instance (other integration) we want to use with our business service BS_SAP_R3, we have an error when configuring the “<i><b>Adapter-Specific Identifiers…</b></i>” properties “R/3 System ID” and “<i><b>Client</b></i>” from the section “<i><b>IDoc Adapter and RFC Adapter</b></i>” with the message, for the BS_SAP_R3
    <i><b>Check Result for Object BS_SAP_R3
    SAP system ID D46 and client 800 already exist in service | BC_TEST_SAP_R3  </b></i>
    Is there a way to solve this conflict problem?
    Thanks for your help.
    Adalbert

    Dzieki za odpowiedz
    Could you give more details about the design issue and what you have on mind?
    I also suspect a design issue but do not know how to solve it...
    If in your Configuration you have 150 Receivers Determinations, Interface Determinations and Receiver Agreements referencing the same BS business service to access SAP, can you make the service configurable in any sort…
    Can you recommend another solution?
    The only solution I see it to regenerate all the configuration by hand using the already exiting SAP BS… But for 150 objects… it is not a real solution...
    Thanks for your help
    Adalbert
    Wojtek

  • Hands on Lab JD Edwards Enterprise One Business Service Development

    Hi,
    I completed the "Oracle Open World 2008 - Hands on Lab JD Edwards Enterprise One Business Service Development" PDF at [http://www.oracle.com/technology/tech/fmw4apps/jde/pdf/openworld08_businessservicedevelopment.pdf].
    I ran the business service at the end of the lab to get the following error:
    Internal Server Error (Caught exception while handing request: oracle.e1.bssvfoundation.exception.E1AuthorizationException: User is not authorized to invoke this published business service)
    How can this be resolved?
    We are on 8.12 and 8.97.1.2 tools
    Cheers,
    Steve.

    Hi,
    I am having problems at step 5 in your last post.
    " 5) Check your Published BSSv is set to published or not in OMW. If not go to security workbench and select the option publish BSSV from Form Exit and Add Custom Published Business service created, make it Executable."
    - The business function is not published. I try to in Security workbench (P00950) and publish BSSV row exit not to find my newly created business service object (JP55HOL). I can see all the standard ones but not mine. I open the P00950 application to know what the underlying tables are in the Business Views the grids source the data from, to find that JP55HOL exists in the Object Librarian table F9860 but not in the Business Service Published Methods P98630. For the business function to be published, the record needs to exist in this table. How could this record not be written and how can it be corrected through the Application?
    - I don't understand what "or not in OMW" means?
    Please understand that I have followed the hands on lab with no other BSS setup on 8.12/8.97
    Thanks,
    Steve

  • OSB - Content length http header missing from business service out message

    Hi all,
    I am having some diffuclty with a business service in OSB. I created the business service from the wsdl and created a regular proxy service that just routes to the business service. When i run the test console i get the below fault.
    <faultcode>soapenv:Server</faultcode>
    <faultstring>BEA-380000: Length Required</faultstring>
    <detail>
    After some debugging i find that the content length http header is missing from the outbound message the business process creates and sends to the acutal web service which sends back the http 411 fault.
    Does anyone know how to configure the message flow of my proxy service to ensure that the outbound message sent from the business service contains that content length http header or any suggestions on how to fix this issue will be appreciated.
    Thanks

    Disable the "Use Chunked Streaming Mode" property in HTTP Transport Configuration of your business service. By default it remains enabled.
    Regards,
    Anuj

  • Setting JMSPriority on call to Business Service on AquaLogic 2.6 ?

    I have a one-way web service receiving requests on the service bus in a Proxy Service as SOAP/HTTP and sending this further on to as Business Service as SOAP/JMS.
    As part of calling the Business Service, how do I set the JMS priority?
    I am using AquaLogic 2.6. Under the common "Transport Headers" it very much appears to me as if the existing and pre-defined "JMSPriority" does not work - trying to use it leads to a runtime error. I found someone else noting this problem too as an older post - JMS priority transport header This post has some kind of solution too but appears to be aimed at the Proxy Service and not the Business Service.
    So far, all my attempts to set the JMSPriority has failed. Information on the subject appears scarce.
    How do I make my Business Service use a specific JMS priority in its SOAP/JMS call to the actual service?

    Yes, I understand you fully - this selecting the "JMSPriority" from the dropdown is what I meant with the existing and pre-defined setting not working.
    In AquaLogic 2.6. this leads to the same as noted by the other fellow in the older post from 2008 (JMS priority transport header it at runtime results in a transport exception like -
    com.bea.wli.sb.transports.TransportException: java.lang.String
    at com.bea.wli.sb.transports.TransportException.newInstance(TransportException.java:146)
    at com.bea.wli.sb.transports.jms.JmsOutboundMessageContext.setRequestMetaData(JmsOutboundMessageContext.java:220)
    at com.bea.wli.sb.transports.jms.JmsOutboundMessageContext.send(JmsOutboundMessageContext.java:456)
    - and this is where the problem begins. I have tried all sorts of things with little result.
    I have done exactly as you describe.
    The value you assign to the expression in your 11g - does this expression happen to be special in any way?

Maybe you are looking for

  • Dynamic crystal report generation - issues with column headings

    Hi All,<br> I'm trying to generate a crystal report dynamically based on a "result set" data(Query: select REPORT_ID, REPORT_NAME, REPORT_DESC, RPT_FILE_NAME, LOCATION from IRS_REPORT_DETAILS). I'm able to generate the report run time, But the report

  • Need help on the update statement

    Hi, I have a small requirement. I have a table called test1 and it has 2 columns, nam and seq. nam is a VARCHAR2(100) and seq is a NUMBER. In the seq I have values like, 2, 3, 7, 9, 25. I would like to update the seq value in an order such that it wi

  • Patch access free no more?

    http://www.sun.com/bigadmin/newsletter/supplement/032005supp.html and http://sunsolve.sun.com/pub-cgi/show.pl?target=content/content25 say that the public will continue to get free access to patch descriptions from April 5th, implying that you'll nee

  • How does the reminder app work?

    It doesnt remind me. Is the something im not doing right

  • Using Color From One portion of a Photo to Correct Color in a Faded Area

    I'm a complete noob with photoshop elements 10. The more I look on this forum and in help the more confuesd I get. Here's my problem. I have an old photograph that has faded from expoesure to sunlight. After removing the photo from the frame there is