Using ICEFaces with JPA Tutorial

Juan Camilo Ruiz (with a little help from me) wrote a nice how-to that shows you how to integrate the Ajax enabled JSF components offered by the open source ICEFaces project into JDeveloper and how you can work with them and connect them to a JPA/EJB 3.0 back-end.

Check the tutorial out here.

And if you like it and you are at the Oracle Open World Latin America in Brazil - stop by the JDeveloper booth and have a look at all the other things we offer for JSF development (and you might meet Juan there too).

Comments:

I am new to JPA. Is following entry is required in web.xml? model = (DepPublicFacade)context.lookup("DepPublicFacade"); <ejb-ref-name>ejb/local/DepPublicFacade</ejb-ref-name> <ejb-ref-type>Session</ejb-ref-type> <local>model.DepPublicFacadeLocal</local> <ejb-link>DepPublicFacade</ejb-link> </ejb-local-ref>

Posted by Yogesh on March 27, 2007 at 05:52 AM PDT #

I tried the tutorial, its working great. Couple of things I am not able to sort out. 1. How to get the appropriate styleClass, in the demo none is loading. I tried some samples from the http://component-showcase.icefaces.org/component-showcase/index.jsp, I am having a tough time to get the styles applied. 2. When used with ADF Faces components the page crashes, there needs to be */faces/*(this can be customized) in the url, but when used with icefaces the url doesnt have the indicator to get the FacesServlet executed. Thanks - Gana

Posted by Gana on March 28, 2007 at 03:06 AM PDT #

Gana, Answering your questions, to set the style you need to add the xp.css style that comes with the iceFaces installation resources (not the iceFaces-JDeveloper integration), then you will find it at ${icefaces-install-home}\icefaces\resources\css\xp Second question: This is a know problem that happens because the servlets from both components are different. For now there is not a workaround to get both components work in the same page without any problem. Juan

Posted by Juan Camilo Ruiz on April 08, 2007 at 02:15 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

me
I'm a Director of Product Management for the Oracle Java Development Tools.
Follow me:
Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today