开发环境:MyEclipse7.5+JBoss 5.1GA+JDK1.6 部署环境: Red Linux+JDK1.6+JBoss 5.1GA web.xml中配置 <?xml version="1.0" encoding="UTF-8"?> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> <context-param> <param-name> org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL </param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>javax.faces.CONFIG_FILES</param-name> <param-value>/WEB-INF/config/faces-config.xml</param-value> </context-param> <!-- MyFaces start --> <listener> <listener-class> org.apache.myfaces.webapp.StartupServletContextListener </listener-class> </listener> <!-- MyFaces end --> <!-- Tomahawk start --> <filter> <filter-name>MyFacesExtensionsFilter</filter-name> <filter-class> org.apache.myfaces.webapp.filter.ExtensionsFilter </filter-class> <init-param> <param-name>uploadMaxFileSize</param-name> <param-value>20m</param-value> </init-param> </filter> <!-- extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages --> <filter-mapping> <filter-name>MyFacesExtensionsFilter</filter-name> <!-- servlet-name must match the name of your javax.faces.webapp.FacesServlet entry --> <servlet-name>Faces Servlet</servlet-name> </filter-mapping> <!-- extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.) --> <filter-mapping> <filter-name>MyFacesExtensionsFilter</filter-name> <url-pattern>/faces/myFacesExtensionResource/*</url-pattern> </filter-mapping> <!-- Tomahawk end --> <!-- richfaces start --> <context-param> <param-name>org.ajax4jsf.SKIN</param-name> <param-value>blueSky</param-value> </context-param> <context-param> <param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name> <param-value>false</param-value> </context-param> <filter> <display-name>Ajax4jsf Filter</display-name> <filter-name>ajax4jsf</filter-name> <filter-class>org.ajax4jsf.Filter</filter-class> <init-param> <param-name>forceparser</param-name> <param-value>false</param-value> </init-param> </filter> <filter-mapping> <filter-name>ajax4jsf</filter-name> <servlet-name>Faces Servlet</servlet-name> <dispatcher>FORWARD</dispatcher> <dispatcher>REQUEST</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping> <!-- richfaces end --> <!-- facelets start --> <context-param> <param-name>facelets.DEVELOPMENT</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name> <param-value>com.sun.facelets.FaceletViewHandler</param-value> </context-param> <context-param> <param-name>com.sun.faces.validateXml</param-name> <param-value>true</param-value> <!-- description> Set this flag to true if you want the JavaServer Faces Reference Implementation to validate the XML in your faces-config.xml resources against the DTD. Default value is false. </description --> </context-param> <!--context-param> <param-name>com.sun.faces.verifyObjects</param-name> <param-value>true</param-value> <description> Set this flag to true if you want the JavaServer Faces Reference Implementation to verify that all of the application objects you have configured (components, converters, renderers, and validators) can be successfully created. Default value is false. </description> </context-param> --> <context-param> <param-name>javax.faces.DEFAULT_SUFFIX</param-name> <param-value>.xhtml</param-value> </context-param> <context-param> <param-name>facelets.REFRESH_PERIOD</param-name> <param-value>2</param-value> </context-param> <context-param> <param-name>facelets.DEVELOPMENT</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>javax.faces.STATE_SAVING_METHOD</param-name> <param-value>client</param-value> </context-param> <!-- facelets end --> <!-- Faces Servlet --> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>0</load-on-startup> </servlet> <!-- Faces Servlet Mapping --> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.faces</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.jsf</url-pattern> </servlet-mapping> <login-config> <auth-method>BASIC</auth-method> </login-config> <session-config> <session-timeout>30</session-timeout> </session-config> <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> </web-app>
需要的jar common-annotations.jar commons-beanutils-1.7.0.jar commons-codec-1.3.jar commons-collections-3.2.jar commons-digester-1.8.jar commons-discovery-0.4.jar commons-el-1.0.jar commons-fileupload-1.2.1.jar commons-io-1.4.jar commons-logging-1.1.1.jar jsf-api.jar jsf-facelets.jar jsf-impl.jar jstl-1.1.0.jar myfaces-api-1.2.7.jar myfaces-impl-1.2.7.jar richfaces-api-3.2.0.GA.jar richfaces-impl-3.2.0.GA.jar richfaces-ui-3.2.0.GA.jar standard.jar tomahawk-1.1.9.jar
日志:
00:01:20,828 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core 00:01:20,828 INFO [NativeServerConfig] 3.1.2.GA 00:01:21,812 INFO [AttributeCallbackItem] Owner callback not implemented. 00:01:24,125 INFO [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@a6e0a9[ defaultDomain='jboss' ] 00:01:51,812 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@23396239{vfszip:/D:/software/jboss-5.1.0.GA/server/default/deploy/demoejb.jar/} 00:01:51,812 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@23396239{vfszip:/D:/software/jboss-5.1.0.GA/server/default/deploy/demoejb.jar/} 00:01:51,812 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@30536690{vfsfile:/D:/software/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/} 00:01:51,812 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@30536690{vfsfile:/D:/software/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/} 00:01:51,812 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@30536690{vfsfile:/D:/software/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/} 00:01:51,812 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@30536690{vfsfile:/D:/software/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/} 00:01:51,828 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@6033476{vfsfile:/D:/software/jboss-5.1.0.GA/server/default/deploy/support.ear/supportEJB.jar/} 00:01:51,828 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@6033476{vfsfile:/D:/software/jboss-5.1.0.GA/server/default/deploy/support.ear/supportEJB.jar/} 00:01:56,187 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector 00:01:56,515 INFO [MailService] Mail Service bound to java:/Mail 00:02:00,953 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this. 00:02:00,968 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent 00:02:01,140 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent 00:02:01,296 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc. 00:02:01,296 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer 00:02:01,859 INFO [TransactionManagerService] Initializing recovery manager 00:02:02,250 INFO [TransactionManagerService] Recovery manager configured 00:02:02,265 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference 00:02:02,343 INFO [TransactionManagerService] Starting transaction recovery manager 00:02:03,375 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\software\jdk1.6.0_04\bin 00:02:03,515 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080 00:02:03,515 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009 00:02:03,578 INFO [StandardService] Starting service jboss.web 00:02:03,578 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.3.GA 00:02:03,734 INFO [Catalina] Server startup in 221 ms 00:02:03,781 INFO [TomcatDeployment] deploy, ctxPath=/web-console 00:02:06,437 INFO [TomcatDeployment] deploy, ctxPath=/jbossws 00:02:06,500 INFO [TomcatDeployment] deploy, ctxPath=/invoker 00:02:06,687 INFO [RARDeployment] Required license terms exist, view vfszip:/D:/software/jboss-5.1.0.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml 00:02:06,718 INFO [RARDeployment] Required license terms exist, view vfszip:/D:/software/jboss-5.1.0.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml 00:02:06,781 INFO [RARDeployment] Required license terms exist, view vfszip:/D:/software/jboss-5.1.0.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml 00:02:06,812 INFO [RARDeployment] Required license terms exist, view vfszip:/D:/software/jboss-5.1.0.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml 00:02:06,859 INFO [RARDeployment] Required license terms exist, view vfszip:/D:/software/jboss-5.1.0.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml 00:02:07,156 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main 00:02:07,203 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. 00:02:07,203 INFO [RAMJobStore] RAMJobStore initialized. 00:02:07,203 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' 00:02:07,203 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 00:02:07,203 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. 00:02:08,359 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' 00:02:10,171 INFO [ServerPeer] JBoss Messaging 1.4.3.GA server [0] started 00:02:10,312 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000 00:02:10,453 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds 00:02:10,453 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1dd31be started 00:02:10,453 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000 00:02:10,453 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds 00:02:10,453 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1837295 started 00:02:10,453 INFO [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover 00:02:10,453 INFO [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing 00:02:10,453 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds 00:02:10,453 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1d2ea56 started 00:02:10,625 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' 00:02:10,671 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=support' to JNDI name 'java:support' 00:02:11,484 INFO [JBossASKernel] Created KernelDeployment for: demoejb.jar 00:02:11,500 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=demoejb.jar,name=HelloWorldBean,service=EJB3 00:02:11,500 INFO [JBossASKernel] with dependencies: 00:02:11,500 INFO [JBossASKernel] and demands: 00:02:11,500 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 00:02:11,500 INFO [JBossASKernel] and supplies: 00:02:11,500 INFO [JBossASKernel] Class:com.foshanshop.ejb3.impl.HelloWorldLocal 00:02:11,500 INFO [JBossASKernel] jndi:HelloWorldBean/remote-com.foshanshop.ejb3.HelloWorld 00:02:11,500 INFO [JBossASKernel] Class:com.foshanshop.ejb3.HelloWorld 00:02:11,500 INFO [JBossASKernel] jndi:HelloWorldBean/local 00:02:11,500 INFO [JBossASKernel] jndi:HelloWorldBean/remote 00:02:11,500 INFO [JBossASKernel] jndi:HelloWorldBean/local-com.foshanshop.ejb3.impl.HelloWorldLocal 00:02:11,500 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=demoejb.jar,name=HelloWorldBean,service=EJB3) to KernelDeployment of: demoejb.jar 00:02:11,500 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@187828f{name=jboss.j2ee:jar=demoejb.jar,name=HelloWorldBean,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true} 00:02:11,671 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=demoejb.jar,name=HelloWorldBean,service=EJB3 00:02:11,687 INFO [EJBContainer] STARTED EJB: com.foshanshop.ejb3.impl.HelloWorldBean ejbName: HelloWorldBean 00:02:11,781 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI: HelloWorldBean/remote - EJB3.x Default Remote Business Interface HelloWorldBean/remote-com.foshanshop.ejb3.HelloWorld - EJB3.x Remote Business Interface HelloWorldBean/local - EJB3.x Default Local Business Interface HelloWorldBean/local-com.foshanshop.ejb3.impl.HelloWorldLocal - EJB3.x Local Business Interface 00:02:12,109 INFO [JBossASKernel] Created KernelDeployment for: profileservice-secured.jar 00:02:12,109 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3 00:02:12,109 INFO [JBossASKernel] with dependencies: 00:02:12,109 INFO [JBossASKernel] and demands: 00:02:12,109 INFO [JBossASKernel] jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView 00:02:12,109 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 00:02:12,109 INFO [JBossASKernel] and supplies: 00:02:12,109 INFO [JBossASKernel] Class:org.jboss.profileservice.spi.ProfileService 00:02:12,109 INFO [JBossASKernel] jndi:SecureProfileService/remote 00:02:12,109 INFO [JBossASKernel] jndi:SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService 00:02:12,109 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3) to KernelDeployment of: profileservice-secured.jar 00:02:12,109 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3 00:02:12,109 INFO [JBossASKernel] with dependencies: 00:02:12,109 INFO [JBossASKernel] and demands: 00:02:12,109 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 00:02:12,109 INFO [JBossASKernel] and supplies: 00:02:12,109 INFO [JBossASKernel] jndi:SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager 00:02:12,109 INFO [JBossASKernel] Class:org.jboss.deployers.spi.management.deploy.DeploymentManager 00:02:12,109 INFO [JBossASKernel] jndi:SecureDeploymentManager/remote 00:02:12,109 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3) to KernelDeployment of: profileservice-secured.jar 00:02:12,109 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3 00:02:12,109 INFO [JBossASKernel] with dependencies: 00:02:12,109 INFO [JBossASKernel] and demands: 00:02:12,109 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 00:02:12,109 INFO [JBossASKernel] and supplies: 00:02:12,109 INFO [JBossASKernel] jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView 00:02:12,109 INFO [JBossASKernel] Class:org.jboss.deployers.spi.management.ManagementView 00:02:12,125 INFO [JBossASKernel] jndi:SecureManagementView/remote 00:02:12,125 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3) to KernelDeployment of: profileservice-secured.jar 00:02:12,125 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@67794{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true} 00:02:12,125 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@1b0fedc{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true} 00:02:12,125 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@112022e{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true} 00:02:12,187 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3 00:02:12,187 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureDeploymentManager ejbName: SecureDeploymentManager 00:02:12,218 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI: SecureDeploymentManager/remote - EJB3.x Default Remote Business Interface SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager - EJB3.x Remote Business Interface 00:02:12,296 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3 00:02:12,296 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureManagementView ejbName: SecureManagementView 00:02:12,328 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI: SecureManagementView/remote - EJB3.x Default Remote Business Interface SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView - EJB3.x Remote Business Interface 00:02:12,406 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3 00:02:12,406 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureProfileServiceBean ejbName: SecureProfileService 00:02:12,421 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI: SecureProfileService/remote - EJB3.x Default Remote Business Interface SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService - EJB3.x Remote Business Interface 00:02:12,609 INFO [TomcatDeployment] deploy, ctxPath=/admin-console 00:02:12,765 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console' 00:02:16,796 INFO [TomcatDeployment] deploy, ctxPath=/ 00:02:16,890 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console 00:02:17,171 INFO [JBossASKernel] Created KernelDeployment for: supportEJB.jar 00:02:17,171 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=support.ear,jar=supportEJB.jar,name=HelloWorldBean,service=EJB3 00:02:17,171 INFO [JBossASKernel] with dependencies: 00:02:17,171 INFO [JBossASKernel] and demands: 00:02:17,171 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 00:02:17,171 INFO [JBossASKernel] and supplies: 00:02:17,171 INFO [JBossASKernel] jndi:support/HelloWorldBean/remote 00:02:17,171 INFO [JBossASKernel] jndi:support/HelloWorldBean/remote-com.suretech.support.HelloWorld 00:02:17,171 INFO [JBossASKernel] Class:com.suretech.support.HelloWorld 00:02:17,171 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=support.ear,jar=supportEJB.jar,name=HelloWorldBean,service=EJB3) to KernelDeployment of: supportEJB.jar 00:02:17,171 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=support.ear,jar=supportEJB.jar,name=CustomersFacade,service=EJB3 00:02:17,171 INFO [JBossASKernel] with dependencies: 00:02:17,171 INFO [JBossASKernel] and demands: 00:02:17,171 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 00:02:17,171 INFO [JBossASKernel] persistence.unit:unitName=support.ear/supportEJB.jar#supportEJBPU 00:02:17,171 INFO [JBossASKernel] and supplies: 00:02:17,171 INFO [JBossASKernel] jndi:support/CustomersFacade/local-com.suretech.support.user.ejb.CustomersFacadeLocal 00:02:17,171 INFO [JBossASKernel] jndi:support/CustomersFacade/remote 00:02:17,171 INFO [JBossASKernel] Class:com.suretech.support.user.ejb.CustomersFacadeRemote 00:02:17,171 INFO [JBossASKernel] jndi:support/CustomersFacade/remote-com.suretech.support.user.ejb.CustomersFacadeRemote 00:02:17,171 INFO [JBossASKernel] jndi:support/CustomersFacade/local 00:02:17,171 INFO [JBossASKernel] Class:com.suretech.support.user.ejb.CustomersFacadeLocal 00:02:17,171 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=support.ear,jar=supportEJB.jar,name=CustomersFacade,service=EJB3) to KernelDeployment of: supportEJB.jar 00:02:17,171 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=support.ear,jar=supportEJB.jar,name=OrdersFacade,service=EJB3 00:02:17,171 INFO [JBossASKernel] with dependencies: 00:02:17,171 INFO [JBossASKernel] and demands: 00:02:17,171 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 00:02:17,171 INFO [JBossASKernel] persistence.unit:unitName=support.ear/supportEJB.jar#supportEJBPU 00:02:17,171 INFO [JBossASKernel] and supplies: 00:02:17,171 INFO [JBossASKernel] jndi:support/OrdersFacade/local 00:02:17,171 INFO [JBossASKernel] Class:com.suretech.support.user.ejb.OrdersFacadeRemote 00:02:17,171 INFO [JBossASKernel] jndi:support/OrdersFacade/local-com.suretech.support.user.ejb.OrdersFacadeLocal 00:02:17,171 INFO [JBossASKernel] jndi:support/OrdersFacade/remote-com.suretech.support.user.ejb.OrdersFacadeRemote 00:02:17,171 INFO [JBossASKernel] Class:com.suretech.support.user.ejb.OrdersFacadeLocal 00:02:17,171 INFO [JBossASKernel] jndi:support/OrdersFacade/remote 00:02:17,171 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=support.ear,jar=supportEJB.jar,name=OrdersFacade,service=EJB3) to KernelDeployment of: supportEJB.jar 00:02:17,171 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@1775d6{name=jboss.j2ee:ear=support.ear,jar=supportEJB.jar,name=CustomersFacade,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true} 00:02:17,171 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@d7ab81{name=jboss.j2ee:ear=support.ear,jar=supportEJB.jar,name=OrdersFacade,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true} 00:02:17,171 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@ba11f7{name=jboss.j2ee:ear=support.ear,jar=supportEJB.jar,name=HelloWorldBean,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true} 00:02:17,281 INFO [SessionSpecContainer] Starting jboss.j2ee:ear=support.ear,jar=supportEJB.jar,name=HelloWorldBean,service=EJB3 00:02:17,281 INFO [EJBContainer] STARTED EJB: com.suretech.support.impl.HelloWorldBean ejbName: HelloWorldBean 00:02:17,312 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI: support/HelloWorldBean/remote - EJB3.x Default Remote Business Interface support/HelloWorldBean/remote-com.suretech.support.HelloWorld - EJB3.x Remote Business Interface 00:02:17,390 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=support.ear/supportEJB.jar#supportEJBPU 00:02:17,750 INFO [Version] Hibernate Annotations 3.4.0.GA 00:02:17,843 INFO [Environment] Hibernate 3.3.1.GA 00:02:17,890 INFO [Environment] hibernate.properties not found 00:02:17,906 INFO [Environment] Bytecode provider name : javassist 00:02:17,921 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling 00:02:18,687 INFO [Version] Hibernate Commons Annotations 3.1.0.GA 00:02:18,796 INFO [Version] Hibernate EntityManager 3.4.0.GA 00:02:19,468 INFO [Ejb3Configuration] Processing PersistenceUnitInfo [ name: supportEJBPU ...] 00:02:19,562 WARN [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null. 00:02:21,187 INFO [AnnotationBinder] Binding entity from annotated class: com.suretech.support.user.entity.Orders 00:02:21,343 INFO [EntityBinder] Bind entity com.suretech.support.user.entity.Orders on table orders 00:02:21,500 INFO [AnnotationBinder] Binding entity from annotated class: com.suretech.support.user.entity.Customers 00:02:21,500 INFO [EntityBinder] Bind entity com.suretech.support.user.entity.Customers on table customers 00:02:21,765 INFO [CollectionBinder] Mapping collection: com.suretech.support.user.entity.Customers.orderses -> orders 00:02:21,796 INFO [Version] Hibernate Validator 3.1.0.GA 00:02:21,890 INFO [HibernateSearchEventListenerRegister] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled. 00:02:21,937 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider 00:02:21,937 INFO [InjectedDataSourceConnectionProvider] Using provided datasource 00:02:22,718 INFO [SettingsFactory] RDBMS: MySQL, version: 5.0.22-community-nt 00:02:22,718 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.0.6 ( $Date: 2007-03-09 22:13:57 +0100 (Fri, 09 Mar 2007) $, $Revision: 6341 $ ) 00:02:22,812 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect 00:02:22,843 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory 00:02:22,859 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup 00:02:22,875 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup 00:02:22,875 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled 00:02:22,875 INFO [SettingsFactory] Automatic session close at end of transaction: disabled 00:02:22,875 INFO [SettingsFactory] JDBC batch size: 15 00:02:22,875 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled 00:02:22,875 INFO [SettingsFactory] Scrollable result sets: enabled 00:02:22,875 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled 00:02:22,875 INFO [SettingsFactory] Connection release mode: auto 00:02:22,890 INFO [SettingsFactory] Maximum outer join fetch depth: 2 00:02:22,890 INFO [SettingsFactory] Default batch fetch size: 1 00:02:22,890 INFO [SettingsFactory] Generate SQL with comments: disabled 00:02:22,890 INFO [SettingsFactory] Order SQL updates by primary key: disabled 00:02:22,890 INFO [SettingsFactory] Order SQL inserts for batching: disabled 00:02:22,890 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory 00:02:22,906 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory 00:02:22,906 INFO [SettingsFactory] Query language substitutions: {} 00:02:22,906 INFO [SettingsFactory] JPA-QL strict compliance: enabled 00:02:22,906 INFO [SettingsFactory] Second-level cache: enabled 00:02:22,906 INFO [SettingsFactory] Query cache: disabled 00:02:22,937 INFO [SettingsFactory] Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge 00:02:22,953 INFO [RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.HashtableCacheProvider 00:02:22,953 INFO [SettingsFactory] Optimize cache for minimal puts: disabled 00:02:22,953 INFO [SettingsFactory] Cache region prefix: persistence.unit:unitName=support.ear/supportEJB.jar#supportEJBPU 00:02:22,953 INFO [SettingsFactory] Structured second-level cache entries: disabled 00:02:22,984 INFO [SettingsFactory] Statistics: disabled 00:02:22,984 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled 00:02:23,000 INFO [SettingsFactory] Default entity-mode: pojo 00:02:23,000 INFO [SettingsFactory] Named query checking : enabled 00:02:23,187 INFO [SessionFactoryImpl] building session factory 00:02:23,843 INFO [SessionFactoryObjectFactory] Factory name: persistence.unit:unitName=support.ear/supportEJB.jar#supportEJBPU 00:02:23,843 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 00:02:23,859 INFO [NamingHelper] Creating subcontext: persistence.unit:unitName=support.ear 00:02:23,859 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=support.ear/supportEJB.jar#supportEJBPU 00:02:23,859 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext 00:02:23,859 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 00:02:24,031 INFO [SessionSpecContainer] Starting jboss.j2ee:ear=support.ear,jar=supportEJB.jar,name=OrdersFacade,service=EJB3 00:02:24,031 INFO [EJBContainer] STARTED EJB: com.suretech.support.user.ejb.OrdersFacade ejbName: OrdersFacade 00:02:24,062 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI: support/OrdersFacade/remote - EJB3.x Default Remote Business Interface support/OrdersFacade/remote-com.suretech.support.user.ejb.OrdersFacadeRemote - EJB3.x Remote Business Interface support/OrdersFacade/local - EJB3.x Default Local Business Interface support/OrdersFacade/local-com.suretech.support.user.ejb.OrdersFacadeLocal - EJB3.x Local Business Interface 00:02:24,078 INFO [SessionSpecContainer] Starting jboss.j2ee:ear=support.ear,jar=supportEJB.jar,name=CustomersFacade,service=EJB3 00:02:24,078 INFO [EJBContainer] STARTED EJB: com.suretech.support.user.ejb.CustomersFacade ejbName: CustomersFacade 00:02:24,109 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI: support/CustomersFacade/remote - EJB3.x Default Remote Business Interface support/CustomersFacade/remote-com.suretech.support.user.ejb.CustomersFacadeRemote - EJB3.x Remote Business Interface support/CustomersFacade/local - EJB3.x Default Local Business Interface support/CustomersFacade/local-com.suretech.support.user.ejb.CustomersFacadeLocal - EJB3.x Local Business Interface 00:02:24,203 INFO [TomcatDeployment] deploy, ctxPath=/supportWeb 00:02:24,375 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true 00:02:24,375 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true 00:02:24,375 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.RENDER_CLEAR_JAVASCRIPT_FOR_BUTTON' found, using default value false 00:02:24,375 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.SAVE_FORM_SUBMIT_LINK_IE' found, using default value false 00:02:24,375 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using default value true 00:02:24,375 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.RENDER_VIEWSTATE_ID' found, using default value true 00:02:24,375 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.STRICT_XHTML_LINKS' found, using default value true 00:02:24,375 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.CONFIG_REFRESH_PERIOD' found, using default value 2 00:02:24,375 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.VIEWSTATE_JAVASCRIPT' found, using default value false 00:02:24,375 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false 00:02:24,375 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value false 00:02:24,375 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value org.apache.myfaces.renderkit.html.util.DefaultAddResource 00:02:24,375 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.RESOURCE_VIRTUAL_PATH' found, using default value /faces/myFacesExtensionResource 00:02:24,375 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value true 00:02:24,375 INFO [MyfacesConfig] Starting up Tomahawk on the RI-JSF-Implementation. 00:02:24,375 INFO [MyfacesConfig] Starting up Tomahawk on the MyFaces-JSF-Implementation 00:02:24,375 ERROR [MyfacesConfig] Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations. 00:02:24,453 INFO [FacesConfigurator] Reading standard config META-INF/standard-faces-config.xml 00:02:25,593 INFO [FacesConfigurator] Reading config : vfszip:/D:/software/jboss-5.1.0.GA/server/default/deploy/support.ear/supportWeb.war/WEB-INF/lib/jsf-facelets.jar/META-INF/faces-config.xml 00:02:25,593 INFO [FacesConfigurator] Reading config : vfszip:/D:/software/jboss-5.1.0.GA/server/default/deploy/support.ear/supportWeb.war/WEB-INF/lib/richfaces-impl-3.2.0.GA.jar/META-INF/faces-config.xml 00:02:25,609 INFO [FacesConfigurator] Reading config : vfszip:/D:/software/jboss-5.1.0.GA/server/default/deploy/support.ear/supportWeb.war/WEB-INF/lib/richfaces-ui-3.2.0.GA.jar/META-INF/faces-config.xml 00:02:25,625 INFO [FacesConfigurator] Reading config : vfszip:/D:/software/jboss-5.1.0.GA/server/default/deploy/support.ear/supportWeb.war/WEB-INF/lib/tomahawk-1.1.9.jar/META-INF/faces-config.xml 00:02:25,640 ERROR [FacesConfigurator] Faces config resource /WEB-INF/config/faces-config.xml not found 00:02:25,640 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml 00:02:25,656 INFO [FacesConfigurator] MyFaces-package : myfaces-api not found. 00:02:25,656 INFO [FacesConfigurator] MyFaces-package : myfaces-impl not found. 00:02:25,656 INFO [FacesConfigurator] MyFaces-package : tomahawk-sandbox15 not found. 00:02:25,656 INFO [FacesConfigurator] MyFaces-package : tomahawk-sandbox not found. 00:02:25,656 INFO [FacesConfigurator] MyFaces-package : tomahawk not found. 00:02:25,703 WARN [LocaleUtils] Locale name in faces-config.xml null or empty, setting locale to default locale : zh_CN 00:02:28,578 INFO [FacesConfigurator] Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory 00:02:28,593 INFO [AbstractFacesInitializer] ServletContext 'D:\software\jboss-5.1.0.GA\server\default\deploy\support.ear\supportWeb.war\' initialized. 00:02:28,781 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 00:02:28,812 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 00:02:28,812 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 1m:31s:687ms 00:03:34,812 WARN [SkinFactoryImpl] Init parameter for a skin name changed to org.richfaces.SKIN 00:03:43,703 ERROR [HtmlMessageRendererBase] Could not render Message. Unable to find component 'name' (calling findComponent on component 'j_id7'). If the provided id was correct, wrap the message and its component into an h:panelGroup or h:panelGrid. 00:03:43,812 INFO [DefaultLifecycleProviderFactory] Using LifecycleProvider org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider 00:03:43,812 INFO [TomcatAnnotationLifecycleProvider] Creating instance of demo.Person 00:03:45,656 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true 00:03:45,656 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true 00:03:45,656 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using default value true 00:03:45,656 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.RENDER_VIEWSTATE_ID' found, using default value true 00:03:45,656 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.STRICT_XHTML_LINKS' found, using default value true 00:03:45,656 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.CONFIG_REFRESH_PERIOD' found, using default value 2 00:03:45,656 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false 00:03:45,656 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value false 00:03:45,656 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value org.apache.myfaces.renderkit.html.util.DefaultAddResource 00:03:45,656 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.RESOURCE_VIRTUAL_PATH' found, using default value /faces/myFacesExtensionResource 00:03:45,656 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value true 00:03:45,656 INFO [MyfacesConfig] Starting up Tomahawk on the RI-JSF-Implementation. 00:03:45,656 INFO [MyfacesConfig] Starting up Tomahawk on the MyFaces-JSF-Implementation 00:03:45,656 ERROR [MyfacesConfig] Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations. 00:03:49,109 INFO [TomcatAnnotationLifecycleProvider] Creating instance of demo.Person
说明: 如果使用JBoss 5.1嵌入的jsf ri lib,则设置WAR_BUNDLES_JSF_IMPL为false,然后把project classpath中的jsf-api.jar,jsf-impl.jar RI删除。
<context-param> <param-name> org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL </param-name> <param-value>false</param-value> </context-param>
您还没有登录,请您登录后再发表评论
jsf1.2+ejb3.0实现的员工管理系统,做成了部分:一部分是ejb端,实现业务逻辑;另一部分是web端,实现web浏览。通过这个实例,你可以学会用jsf1.2和ejb3去做企业项目。内附源代码、分析和部署文档。
**JSF 1.2** 是JavaServer Faces的第二个主要版本,它是一个Java平台上的用户界面框架,专门用于构建Web应用程序。JSF的核心是组件模型,允许开发者通过使用可重用的UI组件来构建页面。JSF 1.2带来了许多增强的功能...
JSF 1.2是该框架的一个较早版本,尽管后来有更新的版本如JSF 2.x,但在某些特定场景下,1.2版本仍然能满足项目需求。 Spring框架则是一个全面的企业级应用开发框架,它提供了解耦、依赖注入、AOP(面向切面编程)...
**JSF 1.2、Spring 和 Hibernate 是企业级 Java 应用开发中的三大核心技术,它们各自负责不同的职责,共同构建了一个强大而灵活的应用架构。** **JavaServer Faces (JSF) 1.2** 是一种用于构建用户界面的 MVC(模型...
使用jsf1.2+spring3.0+hibernate3.3实现集成,利用annotation实现自动对象管理注入,用户表的登录增删改查操作,包括验证码ajax集成,消息机制,国际化处理,自定义转换器,自定义验证器等 qq:38732796 欢迎讨论
"Struts+JSF+filter+Myfaces+A4j+Spring+hibernate+Mysql整合一个项目"就是一个典型的例子,它涉及到前端展现、业务逻辑处理、数据持久化以及数据库管理等多个层面。以下是对这些技术的详细说明: **Struts**:...
**JSF 1.2 + JPA 2.0 + Spring 3.1 整合开发详解** 在Java企业级应用开发中,JSF(JavaServer Faces)、JPA(Java Persistence API)和Spring框架的结合使用是常见的技术栈。本文将深入探讨如何将这三个组件整合在...
标题“JSF1.2+Spring2.0+Hibernate3.2的一个登陆实例”涉及到的是一个集成使用JavaServer Faces(JSF)、Spring框架和Hibernate ORM的登录应用示例。这个项目可能是一个教学资源或者开发者用来学习如何在旧版本的...
本测试项目主要采用了ejb3.0框架+JSF1.2框架+a4j框架结构,采用weblogic服务器,其中包含了EJB远程接口调用和本地接口的双重调用,并采用了AJAX的无刷新技术,而且包含数据库连接操作(Oracle数据库),希望本测试...
jsf1.2+ejb3.0实现的员工管理系统 <br>1.项目说明: 本实例是一个用JSF1.2+EJB3.0实现的员工CRUD的一个实例,业务非常简单,主要是为了演示这两种技术的使用。若与商业应用类同,纯属巧合。 <br>2.源码...
**JSF 1.2 和 EJB 3.0 技术详解** JavaServer Faces (JSF) 是一种用于构建用户界面的 Java EE 标准框架,它专注于简化 web 应用程序的开发。JSF 1.2 版本是在 2006 年发布,是 JSF 的一个里程碑版本,它引入了许多...
Seam、JSF、RichFaces 和 Ajax4jsf 是四个重要的Java Web开发框架和技术,它们在构建现代、交互式Web应用程序中发挥着关键作用。让我们深入探讨这些技术及其结合使用时的知识点。 **1. Seam** Seam是一个开源的Java...
JSF+Spring+Ibatis示例,对学习JAVA企业应用开发有巨大的帮助!
在"拍卖系统jsf+ejb+jpa"的整合中,我们可以想象以下架构: 1. **用户界面**:JSF作为前端,负责接收用户的请求,展示拍卖品信息,处理拍卖出价等操作。用户可以通过JSF组件进行交互,提交的请求会被JSF生命周期...
【JSF+Spring+Hibernate整合开发】 JSF (JavaServer Faces)、Spring 和 Hibernate 是 Java 开发中的三大核心技术,常用于构建企业级的 Web 应用程序。它们各自扮演着不同的角色,共同构建了一个强大的后端架构。 1...
**JSF+Spring+Hibernate整合应用详解** 在Java Web开发中,JSF(JavaServer Faces)、Spring和Hibernate是三个常用的技术栈,它们分别负责视图层、业务逻辑层和服务数据持久化层。这个"JSF+Spring+Hibernate小例子...
jsf1.2+spring2.0+hibernate3.2整合demo part1
相关推荐
jsf1.2+ejb3.0实现的员工管理系统,做成了部分:一部分是ejb端,实现业务逻辑;另一部分是web端,实现web浏览。通过这个实例,你可以学会用jsf1.2和ejb3去做企业项目。内附源代码、分析和部署文档。
**JSF 1.2** 是JavaServer Faces的第二个主要版本,它是一个Java平台上的用户界面框架,专门用于构建Web应用程序。JSF的核心是组件模型,允许开发者通过使用可重用的UI组件来构建页面。JSF 1.2带来了许多增强的功能...
JSF 1.2是该框架的一个较早版本,尽管后来有更新的版本如JSF 2.x,但在某些特定场景下,1.2版本仍然能满足项目需求。 Spring框架则是一个全面的企业级应用开发框架,它提供了解耦、依赖注入、AOP(面向切面编程)...
**JSF 1.2、Spring 和 Hibernate 是企业级 Java 应用开发中的三大核心技术,它们各自负责不同的职责,共同构建了一个强大而灵活的应用架构。** **JavaServer Faces (JSF) 1.2** 是一种用于构建用户界面的 MVC(模型...
使用jsf1.2+spring3.0+hibernate3.3实现集成,利用annotation实现自动对象管理注入,用户表的登录增删改查操作,包括验证码ajax集成,消息机制,国际化处理,自定义转换器,自定义验证器等 qq:38732796 欢迎讨论
"Struts+JSF+filter+Myfaces+A4j+Spring+hibernate+Mysql整合一个项目"就是一个典型的例子,它涉及到前端展现、业务逻辑处理、数据持久化以及数据库管理等多个层面。以下是对这些技术的详细说明: **Struts**:...
**JSF 1.2 + JPA 2.0 + Spring 3.1 整合开发详解** 在Java企业级应用开发中,JSF(JavaServer Faces)、JPA(Java Persistence API)和Spring框架的结合使用是常见的技术栈。本文将深入探讨如何将这三个组件整合在...
标题“JSF1.2+Spring2.0+Hibernate3.2的一个登陆实例”涉及到的是一个集成使用JavaServer Faces(JSF)、Spring框架和Hibernate ORM的登录应用示例。这个项目可能是一个教学资源或者开发者用来学习如何在旧版本的...
本测试项目主要采用了ejb3.0框架+JSF1.2框架+a4j框架结构,采用weblogic服务器,其中包含了EJB远程接口调用和本地接口的双重调用,并采用了AJAX的无刷新技术,而且包含数据库连接操作(Oracle数据库),希望本测试...
jsf1.2+ejb3.0实现的员工管理系统 <br>1.项目说明: 本实例是一个用JSF1.2+EJB3.0实现的员工CRUD的一个实例,业务非常简单,主要是为了演示这两种技术的使用。若与商业应用类同,纯属巧合。 <br>2.源码...
**JSF 1.2 和 EJB 3.0 技术详解** JavaServer Faces (JSF) 是一种用于构建用户界面的 Java EE 标准框架,它专注于简化 web 应用程序的开发。JSF 1.2 版本是在 2006 年发布,是 JSF 的一个里程碑版本,它引入了许多...
Seam、JSF、RichFaces 和 Ajax4jsf 是四个重要的Java Web开发框架和技术,它们在构建现代、交互式Web应用程序中发挥着关键作用。让我们深入探讨这些技术及其结合使用时的知识点。 **1. Seam** Seam是一个开源的Java...
JSF+Spring+Ibatis示例,对学习JAVA企业应用开发有巨大的帮助!
在"拍卖系统jsf+ejb+jpa"的整合中,我们可以想象以下架构: 1. **用户界面**:JSF作为前端,负责接收用户的请求,展示拍卖品信息,处理拍卖出价等操作。用户可以通过JSF组件进行交互,提交的请求会被JSF生命周期...
【JSF+Spring+Hibernate整合开发】 JSF (JavaServer Faces)、Spring 和 Hibernate 是 Java 开发中的三大核心技术,常用于构建企业级的 Web 应用程序。它们各自扮演着不同的角色,共同构建了一个强大的后端架构。 1...
**JSF+Spring+Hibernate整合应用详解** 在Java Web开发中,JSF(JavaServer Faces)、Spring和Hibernate是三个常用的技术栈,它们分别负责视图层、业务逻辑层和服务数据持久化层。这个"JSF+Spring+Hibernate小例子...
jsf1.2+spring2.0+hibernate3.2整合demo part1