Hi,
In out project, we are interacting with few external system with xml over http. The business logic components works with Java Objects which are built from these XMLs and vice versa. We were considering using JAXB, but when I saw amount of Code that JAXB generates and the way it generates it, I thought defining custom beans for each XML type (There are about 60) and writing parser/formatter would be better. What are the standard practices/patterns people use in this situation? Are there any good experiences with JAXB?
Thanks,
Unmesh
-
Use JAXB or NOT (1 messages)
- Posted by: unmesh joshi
- Posted on: March 02 2005 22:58 EST
Threaded Messages (1)
- Jaxb - best practices by Pavel Sumarokov on February 05 2009 11:59 EST
-
Jaxb - best practices[ Go to top ]
- Posted by: Pavel Sumarokov
- Posted on: February 05 2009 11:59 EST
- in response to unmesh joshi
At first I'd like to note that XML is the best way to interact with 3-rd party systems. Secondly, JAXB is the best API for XML in Java. Thus, I recommend it. You can read about export of XML using JAXB in terms of Domain Driven Desing for more information.