Solved

jaxb/rad6 java marshalling/unmarshalling

Posted on 2009-05-05
7
462 Views
Last Modified: 2013-12-11
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



0
Comment
Question by:bunker1234
7 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 24305774
0
 
LVL 12

Expert Comment

by:Gibu George
ID: 24305780
If you want to use jaxb it is available with java 6
0
 
LVL 12

Expert Comment

by:Gibu George
ID: 24305804
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
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 92

Accepted Solution

by:
objects earned 500 total points
ID: 24309737
Can I use JAXB 2 or 2.1 in this envirionment? If yes, what jre's will I need to import?

no

 Can I  use JDK 5  for new project even if existing projects in the workspace uses 1.4.?

yes

 Can I use stax for unmarshalling in this environment? What jre will I need to import?

yes
0
 

Author Comment

by:bunker1234
ID: 24318820
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
0
 
LVL 92

Assisted Solution

by:objects
objects earned 500 total points
ID: 24320874
install jdk (if you haven't already)
the tell rad its location in the java preferences
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
groupSum5 challenge 5 68
java. non-English characters encoding problem. intellij idea 3 73
backtracking recursion  code 19 53
Java DateChooser? 3 29
Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
The viewer will learn how to implement Singleton Design Pattern in Java.

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now