This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes JAX-WS and Java Bean Validation from EE 6 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 » Web Services
Bookmark "JAX-WS and Java Bean Validation from EE 6" Watch "JAX-WS and Java Bean Validation from EE 6" New topic
Author

JAX-WS and Java Bean Validation from EE 6

Maciej Miklas
Ranch Hand

Joined: Feb 12, 2007
Posts: 61
Hi,

JSF and JPA are using Java Bean validation with annotations. This is really cool functionality if you have EJB/JPA -> JSF based interface - there is no need to duplicate constrains in presentation and business logic.

My application will follow SOA model - it will provide set of JAX-WS services. I would like to have similar possibility there: define constrains on one place (could be WSDL) and use them to generate JPA db tables and also constrains for GUI.

Does someone know technology that allows that?

I could imagine that JAXB generates additional annotations with constrains out of schema in WSDL....


Thank you,
Maciej
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAX-WS and Java Bean Validation from EE 6
 
Similar Threads
How to generate a WSDL for a Java based web service developed using JAXWS Annotations
Regarding 'annotations' in webservice eg. @WebService
Programming web services with JAX WS approach
JAXWS can not add additional classes
Web Service & Hibernate