A developer wants to package an enterprise bean FooBean within a .war file: @Stateless public xlass FooBean { public void foo () {} } Which package approach is correct?
Suggested Answer:D🗳️
To include enterprise bean class files in aWARmodule, the class files should be in the WEB-INF/classes directory. Note: Enterprise beans often provide the business logic of a web application. In these cases, packaging the enterprise bean within the web applicationsWARmodule simplifies deployment and application organization. Enterprise beans may be packaged within aWARmodule as Java programming language class files or within a JAR file that is bundled within theWARmodule. Reference: The Java EE 6Tutorial, Packaging Enterprise Beans inWAR Modules
Currently there are no comments in this discussion, be the first to comment!
This section is not available anymore. Please use the main Exam Page.1z0-895 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Comments