X

Shay Shmeltzer's Oracle Development Tools Tips

  • March 26, 2007

Using ICEFaces with JPA Tutorial

Shay Shmeltzer
Director of Product Management - Oracle

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).

Join the discussion

Comments ( 3 )
  • Yogesh Tuesday, March 27, 2007
    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>
  • Gana Wednesday, March 28, 2007
    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
  • Juan Camilo Ruiz Sunday, April 8, 2007
    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
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.