Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tool to validate bean

 
Pradeep Kadambar
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Is there a tool to validate the Java Beans against the specification. Any tool that comes with eclipse or Ant/Maven plugin?

 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think any tool would be supplied by the EJB server provider. For example, Oracle Server's EJB Verifier validates the ejb-jar.xml against Document Type Definition (DTD) and verifies EJB classes classes for inconsistencies, WebLogic Server's appc compiler validates the deployment descriptors for compliance with the current specifications.
 
Pradeep Kadambar
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not necessarily the EJB spec validator, can any tool verify against normal Java Bean spec.
 
Scott Selikoff
author
Saloon Keeper
Posts: 4014
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not really. There are some like Eclipse that make a good effort to. What you have to keep in mind is that although J2EE technology is designed to be modular, most implementations are still highly dependent on the application server platform. The best test is to deploy on a specific platform and record the errors on deployment.
[ March 26, 2008: Message edited by: Scott Selikoff ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic