Solved

jaxb/rad6 java marshalling/unmarshalling

Posted on 2009-05-05
7
464 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
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 
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

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
diffSum example 4 52
How to configure empty element in XML Document parser? 15 36
Selenium docs api java index 3 48
java mysql insert application 14 29
Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

828 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