Solved

jaxb/rad6 java marshalling/unmarshalling

Posted on 2009-05-05
7
463 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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JDeveloper 12c for 32 bit 4 85
Java Server Faces parameter pass? 6 50
Way to decrease size of apk file 9 70
How to convert from xls to xlsx using java 7 40
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
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…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

803 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