Saturday, October 16, 2010

ADF Model: Creating and Running Application Module (AM)

Creating application module is easy. Follow the below steps (screen shots) to create and run application module.

1. Right click any package and select 'New Application Module' -> 'Create Application Module' windown opens.

2. Give package, name for AM and click 'Next'.
  

3. In the 'Data Model' stop, shuffle the VOs you want to add to AM to right side so that they'll be added to the application module. Click 'Next'.

4. In 'Application Modules' stop, you can add other application modules to the AM. i.e., you can nest the application modules. Now, click 'Next'.

5. In 'Java' stop, you can select to generate the application module implementation class (AMImpl).

6. Click 'Next' to see the summary and 'Finish'.

7. Now, you can see the created AM under the specified package. To run the AM, right click the AM and click 'Run'/'Debug'.

8. Now, the application module runs and opens the window where you can see the VO data. You can add, modify, remove VO rows/data and commit.

13 comments:

  1. Hello Murali,

    I am getting this error while deployment in Jdeveloper 11.1.1.3 version. Any help/pointer would be highly appreciated.

    I am exposing one of the method of Application Module as Web Service.


    [03:15:15 PM] java.lang.NullPointerException
    [03:15:15 PM] at oracle.j2ee.ws.tools.wsa.jaxws.AssemblerProcessor.getClassNamesFromEjb(AssemblerProcessor.java:180)
    [03:15:15 PM] at oracle.j2ee.ws.tools.wsa.jaxws.AssemblerProcessor.processEjb(AssemblerProcessor.java:149)
    [03:15:15 PM] at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsEjbAssembler.processEjb(JaxwsEjbAssembler.java:182)
    [03:15:15 PM] at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsEjbAssembler.ejbAssemble(JaxwsEjbAssembler.java:152)
    [03:15:15 PM] at oracle.j2ee.ws.tools.wsa.cli.Processor.jaxwsEjbAssemble(Processor.java:630)
    [03:15:15 PM] at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:327)
    [03:15:15 PM] at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:230)
    [03:15:15 PM] at oracle.j2ee.ws.tools.wsa.Main.mainNoSystemExit(Main.java:84)
    [03:15:15 PM] at oracle.j2ee.ws.tools.wsa.Main.main(Main.java:49)
    [03:15:15 PM] WARNING: Error while processing ejb-jar.xml for ejb module at "C:\Documents and Settings\sacggupt\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\MicroApplications\VendorEJB.jar".
    [03:15:15 PM] INFO: Unable to load annotation javax.interceptor.Interceptors for parsing. The annotation is ignored.
    [03:15:15 PM] INFO: Unable to load annotation javax.interceptor.Interceptors for parsing. The annotation is ignored.

    ReplyDelete
  2. Thanks for the informative share. Worthy tips for sure.

    ReplyDelete
  3. Excellent! I learn step by step process of this module. Image are very useful to understand every step. iOS Event Applications

    ReplyDelete
  4. Good and quite informative! Was just looking for this reference and hopefully I got it.

    ReplyDelete
  5. Glad to chat your blog, I seem to be forward to more reliable articles and I think we all wish to thank so many good articles, blog to share with us. best running shoes for big guy

    ReplyDelete
  6. Informative Topic. Thanks for sharing such useful content. Keep sharing Surya Informatics


    ReplyDelete
  7. I curious more interest in some of them hope you will give more information on this topics in your next articles. Roblox APK Chromebook Download

    ReplyDelete
  8. I have read all the comments and suggestions posted by the visitors for this article are very fine,We will wait for your next article so only.Thanks! Image masking

    ReplyDelete
  9. It's really nice and meanful. it's really cool blog. Linking is very useful thing.you have really helped lots of people who visit blog and provide them usefull information. TubeMate YouTube Downloader For Android Smartphone

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete
  11. weblink replica wallets look at this site buy replica bags browse around this site 7a replica bags wholesale

    ReplyDelete

Related Posts with Thumbnails