Steve Muench, ADF Master from Oracle, created a tutorial for using JHeadstart to jumpstart ADF development. Building J2EE Applications with Oracle JHeadstart for ADF
It is good to see how much he was impressed with JHeadstart 10.1.2 when he attended the JHeadstart workshop several weeks ago. Apparently, he is causing quite a stir within Oracle Product Development (primarily his own ADF team) about all of JHeadstart’s capabilities. We are long term JHeadstart users at AMIS, currently running two ADF and JHeadstart projects and getting very good field experience. We will be posting more on our experiences as well.
Steve’s tutorial is quite interesting, especially where he talks about the shuttle, customzing the generation templates, make field react to live change (by specifying the primaryClientAction) and apply custom skins to achieve your own look and feel. His section on adding a conditionally dependent field, where he shows how you bind UIX properties to DataControls, just by using the IDE, is very instructive – I was not aware of that.
His own introduction:
By following this tutorial, you’ll experience first-hand how Oracle JHeadstart turbo-charges your developer productivity for Oracle ADF-based web applications. You will build an attractive, consistent, interactive, and skinnable web application with browse, search, insert, update, and delete functionality against six related database tables from the Oracle HR sample schema. Your application will feature single- and multi-row editing, page-by-page scrolling, master/detail handling, dropdown lists, a pop-up LOV, a shuttle picker, and a tree control. Since no Java coding is required to implement the tutorial, even developers with minimal Java skills can follow along. This is possible because Oracle ADF-powered J2EE applications only require custom code to add application-specific business logic or to augment default framework behavior.
The list of Related Documents is quite good too:
1. Building J2EE Applications with Oracle JHeadstart for ADF (PDF Format) [http://otn.oracle.com/products/jdev/tips/muench/jhs-step-by-step.pdf] 2. JHeadstart Developer's Guide [http://download.oracle.com/consulting/jhsdevguide.pdf] 3. ADF Business Components Design Pattern Catalog [http://www.oracle.com/technology/products/jdev/tips/muench/designpatterns/index.html] 4. Tutorial Files for Offline Viewing and Database Setup [http://otn.oracle.com/products/jdev/tips/muench/jhs-step-by-step.zip] 5. JDeveloper Downloads [http://www.oracle.com/technology/software/products/jdev/index.html] 6. JHeadstart 10g Product Center [http://www.oracle.com/technology/consulting/9iServices/JHeadstart.html] 7. Installing the Sample Schemas and Establishing a Database Connection [http://www.oracle.com/technology/obe/obe_as_1012/j2ee/common/obeconnection.htm] 8. Oracle Magazine DEVELOPER: Frameworks [http://www.oracle.com/technology/products/jdev/tips/muench/oramag/index.html] 9. Asynchronous JavaScript and XML (AJAX) [http://en.wikipedia.org/wiki/AJAX] 10. Oracle Browser Look and Feel [http://www.oracle.com/technology/tech/blaf/index.html] 11. Wikipedia Definition of 'Skin' [http://en.wikipedia.org/wiki/Skin_(computing)] 12. Oracle Community Weblogs [http://www.orablogs.com] 13. How to Create a Custom Skin for ADF UIX [http://www.oracle.com/technology/products/jdev/howtos/10g/adf_uix_laf_ht/index.html] 14. Oracle Designer Product Center on OTN [http://www.oracle.com/technology/products/designer/index.html] 15. JDeveloper Product Center on OTN [http://www.oracle.com/technology/products/jdev/index.html] 16. Recommended Reading List on Oracle ADF [http://www.oracle.com/technology/products/jdev/tips/muench/requiredreading/index.html] 17. OTN JHeadstart Discussion Forum [http://forums.oracle.com/forums/forum.jsp?forum=38] 18. OTN JDeveloper Discussion Forum [http://forums.oracle.com/forums/forum.jsp?forum=83]
hello i working with JHS and Jdeveloper 10.0.3.2: My list of erros is the next trace.
Project: C:\Subversion Projects\SOFTLOGIA\LEPUS\branches\bugs000735\ViewController\ViewController.jpr
C:\Subversion Projects\SOFTLOGIA\LEPUS\branches\bugs000735\ViewController\public_html\pages\PaymentsVO.jspx
Error(82,132): Whitespace required.
Error(82,135): ‘=’ missing in attribute.
Error(96,242): Whitespace required.
Error(96,245): ‘=’ missing in attribute.
C:\Subversion Projects\SOFTLOGIA\LEPUS\branches\bugs000735\ViewController\public_html\pages\DocumentsVO.jspx
Error(98,133): Whitespace required.
Error(98,136): ‘=’ missing in attribute.
Error(112,245): Whitespace required.
Error(112,248): ‘=’ missing in attribute.
C:\Subversion Projects\SOFTLOGIA\LEPUS\branches\bugs000735\ViewController\public_html\pages\DocumentDetailsVO.jspx
Error(82,139): Whitespace required.
Error(82,142): ‘=’ missing in attribute.
Error(96,263): Whitespace required.
Error(96,266): ‘=’ missing in attribute.
C:\Subversion Projects\SOFTLOGIA\LEPUS\branches\bugs000735\ViewController\public_html\pages\ContractedServicesVO.jspx
Error(108,142): Whitespace required.
Error(108,145): ‘=’ missing in attribute.
Error(122,272): Whitespace required.
Error(122,275): ‘=’ missing in attribute.
C:\Subversion Projects\SOFTLOGIA\LEPUS\branches\bugs000735\ViewController\public_html\pages\ContractedServicesDetailsVO.jspx
Error(82,149): Whitespace required.
Error(82,152): ‘=’ missing in attribute.
Error(96,293): Whitespace required.
Error(96,296): ‘=’ missing in attribute.
C:\Subversion Projects\SOFTLOGIA\LEPUS\branches\bugs000735\ViewController\public_html\pages\ContactsVO.jspx
Error(82,132): Whitespace required.
Error(82,135): ‘=’ missing in attribute.
Error(96,242): Whitespace required.
Error(96,245): ‘=’ missing in attribute.
C:\Subversion Projects\SOFTLOGIA\LEPUS\branches\bugs000735\ViewController\public_html\pages\ContactTypeVO.jspx
Error(82,135): Whitespace required.
Error(82,138): ‘=’ missing in attribute.
Error(96,251): Whitespace required.
Error(96,254): ‘=’ missing in attribute.
C:\Subversion Projects\SOFTLOGIA\LEPUS\branches\bugs000735\ViewController\public_html\pages\ContactInClientsListVO.jspx
Error(82,144): Whitespace required.
Error(82,147): ‘=’ missing in attribute.
Error(96,278): Whitespace required.
Error(96,281): ‘=’ missing in attribute.
C:\Subversion Projects\SOFTLOGIA\LEPUS\branches\bugs000735\ViewController\public_html\pages\ClientsVO.jspx
Error(108,131): Whitespace required.
Error(108,134): ‘=’ missing in attribute.
Error(122,239): Whitespace required.
Error(122,242): ‘=’ missing in attribute.
C:\Subversion Projects\SOFTLOGIA\LEPUS\branches\bugs000735\ViewController\public_html\pages\BanksVO.jspx
Error(98,129): Whitespace required.
Error(98,132): ‘=’ missing in attribute.
Error(112,233): Whitespace required.
Error(112,236): ‘=’ missing in attribute.
pleasse help!!! thanks
sorry but my englissh not is good.
Hi,
I got a same sort of problem. The problem is the missing file Databinding.cpx. After Running Jheadstart Application Generator (on the structure file (.xml)) the
Databinding.cpx will be made. The solution worked for me.
Patrick
Hi
I tried to follow this tutorial and even with a simple hello world application i get this error
oracle.jbo.NoDefException: JBO-25002: Definition DataBindings.cpx of type Application Definition not found at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:381) at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:297) at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:278) at oracle.jbo.uicli.mom.JUApplicationDefImpl.findDefObject(JUApplicationDefImpl.java:83) at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:559) at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:348) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:182) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16) at oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:172) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.FileRequestDispatcher.handleWithFilter(FileRequestDispatcher.java:116) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.FileRequestDispatcher.forwardInternal(FileRequestDispatcher.java:192) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:785) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534)
Not sure how do i get rid of this ?