This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Java in General and the fly likes JaxB Class Declaration Imports Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "JaxB Class Declaration Imports" Watch "JaxB Class Declaration Imports" New topic
Author

JaxB Class Declaration Imports

Anthony Andras
Ranch Hand

Joined: Nov 09, 2008
Posts: 31
Hi everyone,

Wasn't sure where exactly to post this question, so my apologies if I posted it in the incorrect forum. This is more of a sanity check for me.

I have a situation where I am utilizing JaxB to unmarshall XML data into Java so we can then insert it into a database. We are currently utilizing xjc though an ANT script so these classes can be generated at run time. My code, is currently in a package com.buildInfo. The generated classes are being written out into package com.buildInfo2. If I am referencing the JaxB objects inside of a class in the com.buildInfo package, I will need imports for my com.buildInfo2 JaxB classes correct?

Thanks for taking the time to read this.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JaxB Class Declaration Imports
 
Similar Threads
Query regarding Dispatch.Invoke(T message) Method
Making JAXB play nice with JAX-RPC
package vs. specific imports
ANT build script fails with JAXB classes in use
JAXB implentation query