Lab #3 (Additional Seam Commands)

Overview

Seam has additional commands that provide code generation for your application. While the new EJB3 constructs are simpler than EJB2, there is still significant value in using code generation. There is also support for the creation of facelet forms. In this lab, we will execute the following commands:

Lab Instructions

  1. Switch seam-gen to the helloworld-lab3 project
  2. Create a helloworld Stateful Session Bean Conversation
  3. Deploy helloworld to JBoss Application Server
  4. EXTRA CREDIT: Add an action method to the Stateful Session Bean
  5. type: seam unexplode (Will undeploy the exploded EAR file)

Key Files

@workspaceHome@@sep@helloworld-lab3@sep@view@sep@hello.xhtml
@workspaceHome@@sep@helloworld-lab3@sep@src@sep@com@sep@mydomain@sep@helloworld@sep@Hello.java
@workspaceHome@@sep@helloworld-lab3@sep@src@sep@com@sep@mydomain@sep@helloworld@sep@HelloBean.java

Home | Next