Anyone who has ever tried to create custom JSF components knows how it is tedious and time-consuming.
As someone once said "JSF component if pretty complicated beast". To create fully functional custom component, it is not enough to define component logic in custom UIComponent class and also to create custom Renderer. Additionaly you have to create a lot of attributes with special getter’s and setters that interacts with StateHelper in your UIComponent class, you have to spent some time on creating faces configuraion file and tag library descriptors for facelets and maybe for jsp technologies. Regarding TLD's, you have to write TagHandler class. In addition, it may be necessary to create additional handlers or listeners, and so on and so on ...
There remains a question whether much of this work can be automated?
It really can! I hereby announce the solution of mentioned problems, the generator of JSF components. If you will be interested, please check my blog in few days, the beta version will be available to download.
Impressions and experiences from Java EE developer. If you are interested in java enterprise development, adf, java server faces, servlets, portlets and so on , this blog may be interesting for you.
Wednesday, October 31, 2012
Saturday, October 27, 2012
ADF Essentials: at first sight all looks great
A few weeks ago Oracle released new, free distribution of Application Development Framework. To the surprise of developers the ADF Essentials contains a key technologies from "adult" ADF framework distribution:
You can download Oracle ADF Essentials libraries from this page: http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html.
- ADF Faces
- ADF Data Visualization Tools
- ADF Controller
- ADF Model/Databinding
- ADF Business Components
- ADF Security
- ADF Desktop Integration
- ADF Mobile Browser / Trinidad
- ADF Swing
- ADF Business Composer
- MetaData Services (MDS)(MetaData Services (MDS) may only be used in read-only mode with ADF Essentials. Use of MDS for cross-session personalization or persisted customization with ADF Essentials is not permitted.)
You can download Oracle ADF Essentials libraries from this page: http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html.
Wednesday, October 10, 2012
WebcenterPortal oracle.adf.controller.ControllerException: ADFC-06002: Unhandled exception
The exception which I got today in Webcenter Portal application revealed a relatively strange message:
The page on which the message appears contains a region with embedded task-flow. Of course task-flow wasn't loaded. The strange in this case was that everything worked perfectly for several days, furthermore there wasn't any changes implemented in application or middleware.
I suspected that the clue of problem lays in errors in MDS. And voilĂ , after a little cleaning all again works perfectly.
But. The question is, what the hell was this !!!
The page on which the message appears contains a region with embedded task-flow. Of course task-flow wasn't loaded. The strange in this case was that everything worked perfectly for several days, furthermore there wasn't any changes implemented in application or middleware.
I suspected that the clue of problem lays in errors in MDS. And voilĂ , after a little cleaning all again works perfectly.
But. The question is, what the hell was this !!!
Subscribe to:
Posts (Atom)