- 浏览: 410404 次
- 性别:
- 来自: 深圳
文章分类
最新评论
-
dageda_jgw:
...
JSF定义及原理 -
尘土飞扬:
这个在NB7中已经无效了,加不加都会提示 UTF8打不开
Netbeans统一UTF-8编码的方法 -
ouyangkang20:
不对
Struts target is null for setProperty(null, "x", [Ljava.lang.String;@179da9f) -
wpf523:
hahah,很不错啊
mysql安装图解教程 5.1 -
taburissmeng:
action中相应的属性没有set get方法就会报这样的错。 ...
Struts target is null for setProperty(null, "x", [Ljava.lang.String;@179da9f)
我的测试例子:
使用到的Seam版本是:jboss-seam-2.2.0.GA
使用seam-gen工具生成的一个war应用程序
可以正常运行于jboss-5.1.0.GA上
初始化命令:seam setup
生成命令:seam create-project
部署命令:seam explode
(1)初始化命令:seam setup
D:\Seam>cd jboss-seam-2.2.0.GA
D:\Seam\jboss-seam-2.2.0.GA>seam setup
SEAM_HOME: D:\Seam\jboss-seam-2.2.0.GA
Using seam-gen sources from: D:\Seam\jboss-seam-2.2.0.GA\seam-gen
Buildfile: D:\Seam\jboss-seam-2.2.0.GA\seam-gen\build.xml
init:
setup:
[echo] Welcome to seam-gen 2.2.0.GA :-)
[echo] Answer each question or hit ENTER to accept the default (in brackets
)
[echo]
[input] Enter the directory where you want the project to be created (should
not contain spaces) [C:/Projects] [C:/Projects]
D:/projects
[input] Enter your JBoss AS home directory [C:/Program Files/jboss-5.1.0.GA]
[C:/Program Files/jboss-5.1.0.GA]
D:/GreenSoft/JBoss/JDK16/jboss-5.1.0.GA
[input] Enter your JBoss AS domain [default] [default]
default
[input] Enter your GlassFish V2 or V3 home directory (Ignore if you aren't d
eploying to GlassFish) [C:/Program Files/glassfish-v2.1] [C:/Program Files/glass
fish-v2.1]
D:/GreenSoft/glassfish/glassfish-3.0.1
[input] Enter your GlassFish domain (Ignore if you aren't deploying to Glass
Fish) [domain1] [domain1]
domain1
[input] Enter the project name [myproject] [myproject]
seamWerProject
[echo] Accepted project name as: seamWerProject
[input] Do you want to use ICEfaces instead of RichFaces? [n] (y, [n])
n
[input] skipping input as property icefaces.home.new has already been set.
[input] Select a RichFaces skin [glassX] (blueSky, classic, darkX, deepMarin
e, DEFAULT, emeraldTown, [glassX], japanCherry, laguna, ruby, wine)
emeraldTown
[input] Is this project deployed as an EAR (with EJB components) or a WAR (w
ith no EJB support)? [war] (ear, [war])
war
[input] Enter the base package name for your Java classes [com.mydomain.seam
WerProject] [com.mydomain.seamWerProject]
com.cmm.seamwerproject
[input] Enter the Java package name for your session beans [com.cmm.seamwerp
roject.action] [com.cmm.seamwerproject.action]
com.cmm.seamwerproject.action
[input] Enter the Java package name for your entity beans [com.cmm.seamwerpr
oject.model] [com.cmm.seamwerproject.model]
com.cmm.seamwerproject.model
[input] Enter the Java package name for your test cases [com.cmm.seamwerproj
ect.test] [com.cmm.seamwerproject.test]
com.cmm.seamwerproject.test
[input] What kind of database are you using? [hsql] ([hsql], mysql, derby, o
racle, postgres, mssql, db2, sybase, enterprisedb, h2)
mysql
[input] Enter the filesystem path to the JDBC driver jar [] []
D:/mysql-connector-java-5.1.5-bin.jar
[input] skipping input as property driver.license.jar.new has already been s
et.
[input] Enter the Hibernate dialect for your database [org.hibernate.dialect
.MySQLDialect] [org.hibernate.dialect.MySQLDialect]
org.hibernate.dialect.MySQL5Dialect
[input] Enter the JDBC driver class for your database [com.mysql.jdbc.Driver
] [com.mysql.jdbc.Driver]
com.mysql.jdbc.Driver
[input] Enter the JDBC DataSource class for your database [com.mysql.jdbc.jd
bc2.optional.MysqlDataSource] [com.mysql.jdbc.jdbc2.optional.MysqlDataSource]
com.mysql.jdbc.jdbc2.optional.MysqlDataSource
[input] Enter the JDBC URL for your database [jdbc:mysql:///test] [jdbc:mysq
l:///test]
jdbc:mysql://localhost:3306/seamtest
[input] Enter the database username [sa] [sa]
root
[input] Enter the database password [] []
mysql
[input] skipping input as property hibernate.default_schema.entered has alre
ady been set.
[input] Enter the database catalog name (Enter '-' to clear previous value)
[] []
[input] Are you working with tables that already exist in the database? [n]
(y, [n])
y
[input] Do you want to recreate the database tables and execute import.sql e
ach time you deploy? [n] (y, [n])
n
[propertyfile] Creating new property file: D:\Seam\jboss-seam-2.2.0.GA\seam-gen\
build.properties
[echo] Installing JDBC driver jar to JBoss AS
init:
init-properties:
[echo] D:/GreenSoft/JBoss/JDK16/jboss-5.1.0.GA
validate-workspace:
validate-project:
settings:
[echo] JBoss AS home: D:/GreenSoft/JBoss/JDK16/jboss-5.1.0.GA
[echo] GlassFish home: D:/GreenSoft/glassfish/glassfish-3.0.1
[echo] Project name: seamWerProject
[echo] Project location: D:/projects/seamWerProject
[echo] Project type: war
[echo] IceFaces: n
[echo] Action package: com.cmm.seamwerproject.action
[echo] Model package: com.cmm.seamwerproject.model
[echo] Test package: com.cmm.seamwerproject.test
[echo] JDBC driver class: com.mysql.jdbc.Driver
[echo] JDBC DataSource class: com.mysql.jdbc.jdbc2.optional.MysqlDataSource
[echo] Hibernate dialect: org.hibernate.dialect.MySQL5Dialect
[echo] JDBC URL: jdbc:mysql://localhost:3306/seamtest
[echo] Database username: root
[echo] Database password: mysql
[echo]
[echo] Type 'seam create-project' to create the new project
BUILD SUCCESSFUL
Total time: 9 minutes 47 seconds
D:\Seam\jboss-seam-2.2.0.GA>
(2)生成命令:seam create-project
D:\Seam\jboss-seam-2.2.0.GA>seam create-project
SEAM_HOME: D:\Seam\jboss-seam-2.2.0.GA
Using seam-gen sources from: D:\Seam\jboss-seam-2.2.0.GA\seam-gen
Buildfile: D:\Seam\jboss-seam-2.2.0.GA\seam-gen\build.xml
init:
init-properties:
[echo] D:/GreenSoft/JBoss/JDK16/jboss-5.1.0.GA
validate-workspace:
validate-project:
icefaces-staging-copy:
initcopy:
initpoms:
[echo] Setting up dependencies
[copy] Copying 1 file to D:\Seam\jboss-seam-2.2.0.GA\classes\poms
[artifact:install] [INFO] Installing D:\Seam\jboss-seam-2.2.0.GA\classes\poms\ro
ot.pom to C:\Documents and Settings\Administrator\.m2\repository\org\jboss\seam\
root\2.2.0.GA\root-2.2.0.GA.pom
[copy] Copying 1 file to D:\Seam\jboss-seam-2.2.0.GA\classes\poms
[artifact:install] [INFO] Installing D:\Seam\jboss-seam-2.2.0.GA\classes\poms\pa
rent.pom to C:\Documents and Settings\Administrator\.m2\repository\org\jboss\sea
m\parent\2.2.0.GA\parent-2.2.0.GA.pom
[copy] Copying 1 file to D:\Seam\jboss-seam-2.2.0.GA\classes\poms
[copy] Copying 1 file to D:\Seam\jboss-seam-2.2.0.GA\classes\poms
[copy] Copying 1 file to D:\Seam\jboss-seam-2.2.0.GA\classes\poms
[copy] Copying 1 file to D:\Seam\jboss-seam-2.2.0.GA\classes\poms
[copy] Copying 1 file to D:\Seam\jboss-seam-2.2.0.GA\classes\poms
[copy] Copying 1 file to D:\Seam\jboss-seam-2.2.0.GA\classes\poms
[copy] Copying 1 file to D:\Seam\jboss-seam-2.2.0.GA\classes\poms
[copy] Copying 1 file to D:\Seam\jboss-seam-2.2.0.GA\classes\poms
[copy] Copying 1 file to D:\Seam\jboss-seam-2.2.0.GA\classes\poms
[copy] Copying 1 file to D:\Seam\jboss-seam-2.2.0.GA\classes\poms
[copy] Copying 1 file to D:\Seam\jboss-seam-2.2.0.GA\classes\poms
[copy] Copying 1 file to D:\Seam\jboss-seam-2.2.0.GA\classes\poms
[copy] Copying 1 file to D:\Seam\jboss-seam-2.2.0.GA\classes\poms
[copy] Copying 1 file to D:\Seam\jboss-seam-2.2.0.GA\classes\poms
[copy] Copying 1 file to D:\Seam\jboss-seam-2.2.0.GA\classes\poms
copyseam:
copyseamdependencies:
copyjbossembedded:
copy-icefaces-home:
copy-icefaces-maven:
copy-lib:
[echo] Copying Seam and dependencies to the D:/projects/seamWerProject/lib
directory...
[copy] Copying 141 files to D:\projects\seamWerProject\lib
[copy] Copied 5 empty directories to 2 empty directories under D:\projects\
seamWerProject\lib
[echo] Copying JBoss Embedded configuration to the D:/projects/seamWerProje
ct/bootstrap directory...
[copy] Copying 30 files to D:\projects\seamWerProject\bootstrap
file-copy-war:
[echo] Copying build scripts for WAR deployment to the D:/projects/seamWerP
roject directory...
[copy] Copying 2 files to D:\projects\seamWerProject
[copy] Copying 1 file to D:\projects\seamWerProject
[copy] Copying 1 file to D:\projects\seamWerProject
[echo] Copying resources needed for WAR deployment to the D:/projects/seamW
erProject/resources directory...
[copy] Copying 5 files to D:\projects\seamWerProject\resources
[copy] Copying 1 file to D:\projects\seamWerProject\resources\WEB-INF
file-copy-ear:
setup-filters:
file-copy:
[copy] Copying 1 file to D:\projects\seamWerProject
[copy] Copying 3 files to D:\projects\seamWerProject\resources
[copy] Copying 11 files to D:\projects\seamWerProject\resources
[copy] Copying 4 files to D:\projects\seamWerProject
[copy] Copying 1 file to D:\projects\seamWerProject
[copy] Copying 1 file to D:\projects\seamWerProject
[copy] Copying 1 file to D:\projects\seamWerProject
[copy] Copying 1 file to D:\projects\seamWerProject
[copy] Copying 1 file to D:\projects\seamWerProject\.settings
[copy] Copying 1 file to D:\projects\seamWerProject
[copy] Copying 1 file to D:\projects\seamWerProject
[mkdir] Created dir: D:\projects\seamWerProject\nbproject
[copy] Copying 3 files to D:\projects\seamWerProject\nbproject
[copy] Copying 1 file to D:\projects\seamWerProject\resources
[copy] Copying 1 file to D:\projects\seamWerProject\resources
[copy] Copying 1 file to D:\projects\seamWerProject\resources
[copy] Copying 1 file to D:\projects\seamWerProject\resources
[copy] Copying 1 file to D:\projects\seamWerProject\resources
[copy] Copying 1 file to D:\projects\seamWerProject\resources
[copy] Copying 1 file to D:\projects\seamWerProject\resources
[copy] Copying 1 file to D:\projects\seamWerProject\resources
[copy] Copying 13 files to D:\projects\seamWerProject\view
[copy] Copying 16 files to D:\projects\seamWerProject\view
[copy] Copying 1 file to D:\projects\seamWerProject\src\hot\com\cmm\seamwer
project\action
[copy] Copying 3 files to D:\projects\seamWerProject
[copy] Copying 1 file to D:\projects\seamWerProject
[mkdir] Created dir: D:\projects\seamWerProject\src\main\com\cmm\seamwerproj
ect\model
[mkdir] Created dir: D:\projects\seamWerProject\src\test\com\cmm\seamwerproj
ect\test
[copy] Copying 1 file to D:\projects\seamWerProject\src\test
create-project:
[echo] A new Seam project named 'seamWerProject' was created in the D:/proj
ects directory
[echo] Type 'seam explode' and go to http://localhost:8080/seamWerProject
[echo] Eclipse Users: Import the project using File > Import... > Existing
Projects into Workspace, set the root directory to D:/projects, then select the
project named seamWerProject
[echo] NetBeans Users: Open the project using File > Open project... and se
lect the project folder D:/projects/seamWerProject
[echo] IDEA Users: Open the project using File > Open project... and select
the file D:/projects/seamWerProject/seamWerProject.ipr
BUILD SUCCESSFUL
Total time: 6 seconds
D:\Seam\jboss-seam-2.2.0.GA>
(3)部署命令:seam explode
D:\Seam\jboss-seam-2.2.0.GA>seam explode
SEAM_HOME: D:\Seam\jboss-seam-2.2.0.GA
Using seam-gen sources from: D:\Seam\jboss-seam-2.2.0.GA\seam-gen
Buildfile: D:\Seam\jboss-seam-2.2.0.GA\seam-gen\build.xml
init:
init-properties:
[echo] D:/GreenSoft/JBoss/JDK16/jboss-5.1.0.GA
validate-workspace:
validate-project:
explode:
[echo] Deploying project 'seamWerProject' to JBoss AS as an exploded direct
ory
init:
[mkdir] Created dir: D:\projects\seamWerProject\exploded-archives\seamWerPro
ject.war\WEB-INF\classes
[mkdir] Created dir: D:\projects\seamWerProject\exploded-archives\seamWerPro
ject.war\WEB-INF\dev
[mkdir] Created dir: D:\projects\seamWerProject\dist
groovy.compilemodel:
compilemodel:
groovy.compileactions:
groovy.copyactions:
compileactions:
[javac] Compiling 1 source file to D:\projects\seamWerProject\exploded-archi
ves\seamWerProject.war\WEB-INF\dev
copyclasses:
compile:
war:
[copy] Copying 29 files to D:\projects\seamWerProject\exploded-archives\sea
mWerProject.war
[copy] Copying 1 file to D:\projects\seamWerProject\exploded-archives\seamW
erProject.war\WEB-INF\classes
[copy] Copying 1 file to D:\projects\seamWerProject\exploded-archives\seamW
erProject.war\WEB-INF\classes\META-INF
[copy] Copying 1 file to D:\projects\seamWerProject\exploded-archives\seamW
erProject.war\WEB-INF\classes
[copy] Copying 4 files to D:\projects\seamWerProject\exploded-archives\seam
WerProject.war\WEB-INF
[copy] Copying 30 files to D:\projects\seamWerProject\exploded-archives\sea
mWerProject.war\WEB-INF\lib
[copy] Copying 10 files to D:\projects\seamWerProject\exploded-archives\sea
mWerProject.war\WEB-INF\classes
[copy] Copying 1 file to D:\projects\seamWerProject\exploded-archives\seamW
erProject.war\WEB-INF
stage:
datasource:
[copy] Copying 1 file to D:\GreenSoft\JBoss\JDK16\jboss-5.1.0.GA\server\def
ault\deploy
explode:
[mkdir] Created dir: D:\GreenSoft\JBoss\JDK16\jboss-5.1.0.GA\server\default\
deploy\seamWerProject.war
[copy] Warning: WEB-INF\classes\META-INF\orm.xml modified in the future.
[copy] Warning: WEB-INF\classes\META-INF\persistence.xml modified in the fu
ture.
[copy] Warning: WEB-INF\classes\components.properties modified in the futur
e.
[copy] Warning: WEB-INF\classes\import.sql modified in the future.
[copy] Warning: WEB-INF\classes\messages_bg.properties modified in the futu
re.
[copy] Warning: WEB-INF\classes\messages_de.properties modified in the futu
re.
[copy] Warning: WEB-INF\classes\messages_en.properties modified in the futu
re.
[copy] Warning: WEB-INF\classes\messages_fr.properties modified in the futu
re.
[copy] Warning: WEB-INF\classes\messages_it.properties modified in the futu
re.
[copy] Warning: WEB-INF\classes\messages_tr.properties modified in the futu
re.
[copy] Warning: WEB-INF\classes\seam.properties modified in the future.
[copy] Warning: WEB-INF\classes\security.drl modified in the future.
[copy] Warning: WEB-INF\classes\stylesheet\theme.xcss modified in the futur
e.
[copy] Warning: WEB-INF\components.xml modified in the future.
[copy] Warning: WEB-INF\dev\com\cmm\seamwerproject\action\Authenticator.cla
ss modified in the future.
[copy] Warning: WEB-INF\faces-config.xml modified in the future.
[copy] Warning: WEB-INF\jboss-web.xml modified in the future.
[copy] Warning: WEB-INF\lib\antlr-runtime.jar modified in the future.
[copy] Warning: WEB-INF\lib\commons-beanutils.jar modified in the future.
[copy] Warning: WEB-INF\lib\commons-digester.jar modified in the future.
[copy] Warning: WEB-INF\lib\core.jar modified in the future.
[copy] Warning: WEB-INF\lib\darkX.jar modified in the future.
[copy] Warning: WEB-INF\lib\drools-api.jar modified in the future.
[copy] Warning: WEB-INF\lib\drools-compiler.jar modified in the future.
[copy] Warning: WEB-INF\lib\drools-core.jar modified in the future.
[copy] Warning: WEB-INF\lib\drools-decisiontables.jar modified in the futur
e.
[copy] Warning: WEB-INF\lib\drools-templates.jar modified in the future.
[copy] Warning: WEB-INF\lib\glassX.jar modified in the future.
[copy] Warning: WEB-INF\lib\janino.jar modified in the future.
[copy] Warning: WEB-INF\lib\jboss-el.jar modified in the future.
[copy] Warning: WEB-INF\lib\jboss-seam-debug.jar modified in the future.
[copy] Warning: WEB-INF\lib\jboss-seam-excel.jar modified in the future.
[copy] Warning: WEB-INF\lib\jboss-seam-ioc.jar modified in the future.
[copy] Warning: WEB-INF\lib\jboss-seam-mail.jar modified in the future.
[copy] Warning: WEB-INF\lib\jboss-seam-pdf.jar modified in the future.
[copy] Warning: WEB-INF\lib\jboss-seam-remoting.jar modified in the future.
[copy] Warning: WEB-INF\lib\jboss-seam-rss.jar modified in the future.
[copy] Warning: WEB-INF\lib\jboss-seam-ui.jar modified in the future.
[copy] Warning: WEB-INF\lib\jboss-seam.jar modified in the future.
[copy] Warning: WEB-INF\lib\jbpm-jpdl.jar modified in the future.
[copy] Warning: WEB-INF\lib\jsf-facelets.jar modified in the future.
[copy] Warning: WEB-INF\lib\jxl.jar modified in the future.
[copy] Warning: WEB-INF\lib\laguna.jar modified in the future.
[copy] Warning: WEB-INF\lib\mvel2.jar modified in the future.
[copy] Warning: WEB-INF\lib\richfaces-api.jar modified in the future.
[copy] Warning: WEB-INF\lib\richfaces-impl.jar modified in the future.
[copy] Warning: WEB-INF\lib\richfaces-ui.jar modified in the future.
[copy] Warning: WEB-INF\pages.xml modified in the future.
[copy] Warning: WEB-INF\web.xml modified in the future.
[copy] Warning: error.xhtml modified in the future.
[copy] Warning: favicon.ico modified in the future.
[copy] Warning: home.xhtml modified in the future.
[copy] Warning: img\btnmanageroles.png modified in the future.
[copy] Warning: img\btnmanageusers.png modified in the future.
[copy] Warning: img\btnnewpermission.png modified in the future.
[copy] Warning: img\btnnewrole.png modified in the future.
[copy] Warning: img\btnnewuser.png modified in the future.
[copy] Warning: img\dtpick.gif modified in the future.
[copy] Warning: img\error.gif modified in the future.
[copy] Warning: img\false.png modified in the future.
[copy] Warning: img\manytoone.gif modified in the future.
[copy] Warning: img\msgerror.png modified in the future.
[copy] Warning: img\msginfo.png modified in the future.
[copy] Warning: img\msgwarn.png modified in the future.
[copy] Warning: img\onetomany.gif modified in the future.
[copy] Warning: img\seamlogo.png modified in the future.
[copy] Warning: img\true.png modified in the future.
[copy] Warning: index.html modified in the future.
[copy] Warning: layout\display.xhtml modified in the future.
[copy] Warning: layout\edit.xhtml modified in the future.
[copy] Warning: layout\menu.xhtml modified in the future.
[copy] Warning: layout\sort.xhtml modified in the future.
[copy] Warning: layout\template.xhtml modified in the future.
[copy] Warning: login.page.xml modified in the future.
[copy] Warning: login.xhtml modified in the future.
[copy] Warning: stylesheet\theme.css modified in the future.
[copy] Warning: stylesheet\theme.xcss modified in the future.
[copy] Warning: stylesheet\useradmin.css modified in the future.
[copy] Warning: WEB-INF\classes\META-INF modified in the future.
[copy] Warning: WEB-INF\classes\stylesheet modified in the future.
[copy] Warning: WEB-INF\dev\com modified in the future.
[copy] Warning: WEB-INF\dev\com\cmm modified in the future.
[copy] Warning: WEB-INF\dev\com\cmm\seamwerproject modified in the future.
[copy] Warning: WEB-INF\dev\com\cmm\seamwerproject\action modified in the f
uture.
[copy] Warning: WEB-INF\lib modified in the future.
[copy] Warning: img modified in the future.
[copy] Warning: layout modified in the future.
[copy] Warning: stylesheet modified in the future.
[copy] Copying 78 files to D:\GreenSoft\JBoss\JDK16\jboss-5.1.0.GA\server\d
efault\deploy\seamWerProject.war
BUILD SUCCESSFUL
Total time: 7 seconds
D:\Seam\jboss-seam-2.2.0.GA>
在部署完成后,会在Jboss服务器下生成一个目录(seamWerProject.war)和一个数据源文件(seamWerProject-ds.xml)。
相关推荐
Seam-gen 提供了两种使用方式:命令行脚本和 IDE 插件。命令行版本基于 Ant,生成的项目在任何环境下都可以启动。在开始使用之前,确保已经安装了 Seam 工具包,其中包含了 seam 和 seam.bat 脚本,分别适用于 Linux...
#### 二、Seam-gen命令详解 `seam-gen`命令位于Seam框架的根目录下,它提供了多种命令用于项目的创建、管理和代码生成。以下是一些主要的命令及其用途: 1. **`setup`** - **命令示例**:`seam.bat setup` - **...
Seam - 语境相关的组件[满江红20071230]............................................................................................................................ 1 Java EE 框架...........................
1. **项目生成**:`seam-gen`命令可以快速创建新的Seam项目,包括必要的目录结构和基础文件。 2. **组件添加**:通过`seam component`命令,可以方便地将Seam组件添加到项目中,如EJB、JSF等。 3. **自动构建**:...
java jboss seam jboss-seam-selectitems
Algorithm-seam-carving-js.zip,seam-carver的javascript实现。seam carver是一种基于内容的图像缩放算法,算法是为计算机程序高效、彻底地完成任务而创建的一组详细的准则。
这个名为"Seam-Carving-Matlab-master.rar_boardkkc_seam_seam carving_seamca"的压缩包文件包含了Matlab实现的Seam Carving算法,非常适合学习和理解这一技术。 Seam Carving的基本思想是找到图像中的一条或几条...
Seam是一种Java EE框架,它在开发企业级应用程序时提供了高度集成和语境相关的组件模型。这个框架的主要目标是简化复杂性,使开发者能够更高效地构建动态、响应式的Web应用。Seam的核心理念是将不同的技术,如Java...
- **技术栈**:使用 JSF/Seam 技术栈。 - **实践内容**:包括开发环境的搭建、EJB 的集成、用户界面的集成、代码编写以及测试等环节。 ### 结论 通过对该 PPT 内容的分析,我们可以了解到 Seam 在当时作为一个新兴...
seam-support.jar
seam-navigation.jar
seam-pageflow.jar
通常,这样的资源会包括详细步骤的解释,可能的编程实现(可能是用Python、C++或Java等语言),以及一些前后的图像对比,以展示Seam Carving如何有效地调整图像尺寸而尽量保持视觉质量。 数字图像处理是一个广泛的...
最后,文档还介绍了如何在JBoss中使用JSF 1.2 RI运行Seam应用,以及如何使用Seam-gen工具快速启动新项目,包括从数据库生成应用程序、部署为EAR包和增量热部署。 Seam的核心是其上下文相关的组件模型,包括无状态上...
在资源包中,"seam-3.1.0.Beta5"可能是Seam 3.1.0的早期预览版本,尽管描述中提到可以使用"3.1.0.final",但Beta5可能包含了一些特定的实验性功能或bug修复。开发者通常会使用这样的预发布版本来测试新功能和稳定性...
2. **注解驱动的配置**:Seam采用JDK 5.0的注解技术,减少了XML配置文件的使用,提高了开发效率,使得代码更加简洁。 3. **增强的会话管理**:Seam提供了多种生命周期的支持,使得会话管理更加灵活,适应不同类型的...
#### 二、Seam与JSF的互补性 Seam与JSF的结合,不仅弥补了JSF本身的不足,还为开发者提供了更为强大的功能集。具体来说,Seam对JSF生命周期进行了增强,主要包括以下几个方面: 1. **上下文状态管理**:Seam提供了...
通过解压"jboss-seam-1.1.1.GA.tar.gz",你可以得到JBoss Seam的源码、库文件、配置文件以及相关的文档,这些资源对于学习和使用Seam框架非常有帮助。在实践中,你可以按照官方文档的指引,逐步搭建开发环境,创建并...
通过使用POJOs处理JSF事件和实现双向依赖注入,Seam为开发者带来了更加直观和灵活的编程体验。对于需要构建大型、复杂的企业级应用的团队来说,JBoss Seam无疑是一个值得考虑的优秀框架。通过深入理解和熟练运用Seam...