wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Tool to validate bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Tool to validate bean" Watch "Tool to validate bean" New topic
Author

Tool to validate bean

Pradeep Kadambar
Ranch Hand

Joined: Oct 18, 2004
Posts: 148
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

Joined: Sep 29, 2002
Posts: 1683
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.


SCJP 1.4, SCWCD 1.3, SCBCD 1.3
Pradeep Kadambar
Ranch Hand

Joined: Oct 18, 2004
Posts: 148
Not necessarily the EJB spec validator, can any tool verify against normal Java Bean spec.
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3700
    
    5

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 ]

My Blog: Down Home Country Coding with Scott Selikoff
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tool to validate bean
 
Similar Threads
why use assertion rather than xception Handling
Validation of XML and XSL
XML Verification question
XML Code
need a free schema vaidation tool