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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "JaxB Class Declaration Imports" Watch "JaxB Class Declaration Imports" New topic

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
Making JAXB play nice with JAX-RPC
Query regarding Dispatch.Invoke(T message) Method
ANT build script fails with JAXB classes in use
package vs. specific imports
JAXB implentation query