JBoss Seam

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第1行: 第1行:
 
[[JBoss]] Seam is an application framework for Java EE 5.
 
[[JBoss]] Seam is an application framework for Java EE 5.
 
[[Image:jboss_seam_architecture.png]]
 
  
 
==Functions==
 
==Functions==
 +
[[Image:jboss_seam_architecture.png|right|thumb]]
 
*Integrate JSF with EJB 3.0
 
*Integrate JSF with EJB 3.0
 
*Integrated AJAX
 
*Integrated AJAX
第39行: 第38行:
  
 
==install guide==
 
==install guide==
JBoss AS 4.0.5 and installed the EJB 3.0 profile (using the JBoss AS installer).  
+
* Ensure that you have JDK 5.0 or above and Ant 1.6 properly installed (not Ant 1.7 beta).
 +
* For [http://labs.jboss.com/portal/jbossseam/download/index.html Seam 1.1.0.GA], download [http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=193295&release_id=457191 JEMS installer 1.2.0.BETA3] and install JBoss AS 4.0.5 with the ejb3 profile selected. Do not install any other version of JBoss, and do not try to install JBoss using any other profile, not even the all profile.
 +
* Start JBoss AS with the bin/run.(sh|bat) script.
 +
* Download Seam and unpack it.
 +
* Edit build.properties in your Seam directory and configure the path to your JBoss AS installation directory.
 +
* In the jboss-seam/examples/booking directory, type ant deploy and check for any error messages.
 +
* Point your browser to http://localhost:8080/seam-booking/ and register an account.
 +
* In the jboss-seam/examples/dvdstore directory, type ant deploy and check for any error messages.
 +
* Point your browser to http://localhost:8080/seam-dvd/ and register an account.
 +
* In the jboss-seam/examples/issues directory, type ant deploy and check for any error messages.
 +
* Point your browser to http://localhost:8080/seam-issues/ and register an account.
 +
* Change the pages and/or source code in your the jboss-seam/examples/booking directory and redeploy the application by calling ant deploy - see how your modifications affect the application.
  
 
==Links==
 
==Links==
 
*http://labs.jboss.com/portal/jbossseam/
 
*http://labs.jboss.com/portal/jbossseam/
 
*http://docs.jboss.com/seam/
 
*http://docs.jboss.com/seam/

2007年1月18日 (四) 23:17的版本

JBoss Seam is an application framework for Java EE 5.

目录

Functions

Jboss seam architecture.png
  • Integrate JSF with EJB 3.0
  • Integrated AJAX
  • Integrate BPM: jBPM
  • Seam component
  • Declarative State Management
  • Bijection
  • Workspace Management
  • Annotated POJOs Everywhere
  • Testability as a Core Feature
Configuring Seam in Java EE 5

Seam contexts

  • Stateless context
  • Event (or request) context
  • Page context
  • Conversation context
  • Session context
  • Business process context
  • Application context

Seam component types

  • EJB 3.0 stateless session beans
  • EJB 3.0 stateful session beans
  • EJB 3.0 entity beans
  • JavaBeans
  • EJB 3.0 message-driven beans

Seam events

  • JSF events
  • jBPM transition events
  • Seam page actions
  • Seam component-driven events
  • Seam contextual events

install guide

  • Ensure that you have JDK 5.0 or above and Ant 1.6 properly installed (not Ant 1.7 beta).
  • For Seam 1.1.0.GA, download JEMS installer 1.2.0.BETA3 and install JBoss AS 4.0.5 with the ejb3 profile selected. Do not install any other version of JBoss, and do not try to install JBoss using any other profile, not even the all profile.
  • Start JBoss AS with the bin/run.(sh|bat) script.
  • Download Seam and unpack it.
  • Edit build.properties in your Seam directory and configure the path to your JBoss AS installation directory.
  • In the jboss-seam/examples/booking directory, type ant deploy and check for any error messages.
  • Point your browser to http://localhost:8080/seam-booking/ and register an account.
  • In the jboss-seam/examples/dvdstore directory, type ant deploy and check for any error messages.
  • Point your browser to http://localhost:8080/seam-dvd/ and register an account.
  • In the jboss-seam/examples/issues directory, type ant deploy and check for any error messages.
  • Point your browser to http://localhost:8080/seam-issues/ and register an account.
  • Change the pages and/or source code in your the jboss-seam/examples/booking directory and redeploy the application by calling ant deploy - see how your modifications affect the application.

Links

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱