Link to home
Start Free TrialLog in
Avatar of bunker1234
bunker1234

asked on

jaxb/rad6 java marshalling/unmarshalling

Hi Experts,
We are using some 3rd party product.  We use RAD6.0.1,   jdk 1.4,  and WAS6.0 server.
I need to add a new project to this workspace that requires lot of XML marshalling/unmarshalling.

My question is :
 Can I use JAXB 2 or 2.1 in this envirionment? If yes, what jre's will I need to import?
 Can I  use JDK 5  for new project even if existing projects in the workspace uses 1.4.?
 Can I use stax for unmarshalling in this environment? What jre will I need to import?

I will appreciate your help, and any other suggestions for marshalling/unmarshalling in this environment(currently we use DOM/SAX, but I would prefer jaxb)

Thanks,
bunker1234



Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

If you want to use jaxb it is available with java 6
if the 1.4 projects uses enum for variable names then they will not compile as enum is keyword from java 5 onwards, and most people uses the name for Enumeration references in case of 1.4 and below versions
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bunker1234
bunker1234

ASKER

Hi Experts,
I know I can use JAXB 2 with jre 5 and 6.  But my question is can I use java5 in RAD6.0.1?
 If yes,
  how ( I see only 1.3 and 1.4 options) ?  
  Can java5 and java1.4 projects coexist in same RAD6.0.1 workspace?
 
For gibuGeorge: I am not converting existing 1.4 projects to java5., just creating a new project that
uses java5.  So there is no issue of enum variable.

Thanks
bunker1234
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial