Java Persistence API with Sun Studio Creator
I need to use Java Persistence API with Sun Creator. Is it posible? How? I think Java Persistence API is just for JDK 1.5+ but Sun Creator uses 1.4 for J2EE. Is there any way?
Another question is how can I use GlassFish AppServer with Sun Creator? Is it possible? I have a large project done for AppServer8.2 and have troubles porting it to AppServer9 (which is GlassFish as far as I understand).
Thank you in advance,
Ben
[447 byte] By [
blvovskya] at [2007-11-27 5:39:27]

# 2
Thanks Roman.
I have tried it already not too successfully - I have issues with migration of my project. Some pages work fine, some not at all (I believe having troubles with some new JSF NetBeans stuff). Anyway I could not port it fully. I have impression that the reason may be AppServer9 vs AppServer8.2.
Nevertheless as the project is large and quite advanced in it's life cycle at this stage I'd prefer to stay with Sun Creator - just want to add Java Persistence there. Is it possible at all?
Cheers,
Ben
# 4
Yes, I am looking at Hibernate now. I played with JBOSS IDE for Eclipse. But it looks like good things are for JDK 1.5+ (Annotations). Also I have a few problems, which I think relate to Hibernate2 and Hibernate3 libraries incompatibility in JBOSS IDE setup. While I believe the latter is solvable but id Java has JPA then this is the standard and the way to go.
While I do not understand why Sun kills (I believe this is the way to kill) Hibernate and other persistent frameworks but nevertheless JPA seems to be a good standard and the way to go.
In any case I'd prefer even Hibernate to use with JDK 1.5+ and Creator's J2EE allows only JDK 1.4.
Cheers,
Ben