Skip to main content

Glassfish and Oracle ADF Faces Integration ?

4 replies [Last post]
paasiala
Offline
Joined: 2004-09-17

Can anyone tell me the step by step procedure to integrate oracle adf faces with glassfish.
I m having problem configuring glassfish to support adf faces.
Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
edburns
Offline
Joined: 2004-02-11

Here's what oracle says, and unfortunately it's not good news:

http://sfjsf.blogspot.com/2006/02/adf-faces-and-jsf-12.html

JSF 1.2 is right around the corner, and, of course, ADF Faces is going to be right there too, right? Well, not so fast...

ADF Faces took one fairly unusual approach in designing its components. Instead of extending the standard UIComponentBase class like almost everyone else does, we directly extended UIComponent with UIXComponentBase. I chose this path for good reasons - like the FacesBean state saving approach I blogged about a few posts down - but it does carry a penalty. When UIComponent changes, ADF Faces breaks. And UIComponent does change in JSF 1.2. In particular, the move from the JSF EL to the new Unified EL means new getValueExpression() and setValueExpression() methods.

C'est la vie.

So, here's the good news: I'm promising, right here and now, to get a version of ADF Faces out soon that will be based on JSF 1.2. There's one big question to resolve: should it be based on the code in JDev 10.1.3, or on the post-10.1.3 code we're donating to MyFaces? I'm leaning towards the latter, but let me know if you feel differently.

vbkraemer
Offline
Joined: 2003-09-03

I haven't tried to do that integration. I have integrated a few other packages, so I may be able to give you a few hints. One of the most common issues that I have found has been centered around the security policy for GlassFish.

You may want to look at:

http://blogs.sun.com/roller/page/paulsen?entry=configuring_the_security_...
http://blogs.sun.com/roller/page/vkraemer?entry=equinox_hibernate_spring...

You may want to post some of the details about the issues that you are having.

Also, what does Oracle say? They should have some kind of info about this. It is their code.

vbk

paasiala
Offline
Joined: 2004-09-17

Yes,you are correct ,to use oracle adf faces, you to grant read permission in server.policy because adf faces uses it own images,javascripts (.ie.adf/images) and need to be access from web application root directory.

You can refer to the url for detail
http://www.oracle.com/technology/products/jdev/howtos/10g/adfjsf/how-to-...

vbkraemer
Offline
Joined: 2003-09-03

That is excellent news.

Would you be willing to provide a write-up in the GlassFish wiki about what you needed to do? Or create a blog entry and provide the link to it?

It would be a valuable contribution to the community.

vbk