what are the guidelines to deploy XML schemas (schemas that include and import other schemas)in the J2EE realm ?
Thanks
-
XML schemas & J2EE deployment (4 messages)
- Posted by: ivory tower
- Posted on: April 14 2004 16:27 EDT
Threaded Messages (4)
- XML schemas & J2EE deployment by Paul Strack on April 15 2004 09:47 EDT
- XML schemas & J2EE deployment by ivory tower on April 15 2004 11:25 EDT
- XML schemas & J2EE deployment by Paul Strack on April 17 2004 04:26 EDT
- XML schemas & J2EE deployment by ivory tower on April 15 2004 11:25 EDT
- XML schemas & J2EE deployment by John Harby on April 15 2004 09:50 EDT
-
XML schemas & J2EE deployment[ Go to top ]
- Posted by: Paul Strack
- Posted on: April 15 2004 09:47 EDT
- in response to ivory tower
I prefer to put my Schemas/DTDs in jar files, and write a custom EntityResolver that loads those resources via the classpath.
If the Schema refers to other schema files, the parser will use the EntityResolver to load those files, and therefore these additional schemas can also be in the classpath. -
XML schemas & J2EE deployment[ Go to top ]
- Posted by: ivory tower
- Posted on: April 15 2004 11:25 EDT
- in response to Paul Strack
What if your schema gets referenced by both web and ejb tier ? Is your EntityResolver class in a common jar that is present in both tiers ? Would it be possible to share the code ? Thanks. -
XML schemas & J2EE deployment[ Go to top ]
- Posted by: Paul Strack
- Posted on: April 17 2004 16:26 EDT
- in response to ivory tower
Put your schemas and your entity resolvers and your XML related utilities in a common jar bundled with your EAR; this should make it available in both the web and EJB tiers. -
XML schemas & J2EE deployment[ Go to top ]
- Posted by: John Harby
- Posted on: April 15 2004 09:50 EDT
- in response to ivory tower
I like the XMLBeans that WebLogic has developed. Their tools take care of most of the details and XML documents are automatically loaded into XMLBean objects. They are planning on making this available open source via Apache.