Struts « EJB « JSP-Servlet Q&A





1. XSL and EJB in Struts    coderanch.com

2. Struts Without EJB    coderanch.com

Another aspect to consider is- what is the direction of the EJB architecture? This should have some influence on what your plans are for building applications. For example- consider this: With the EJB 2.0- there is the use of Local interfaces for EJB's-(normally there is just a home and remote interface using RMI/IIOP) which gives you the ability to avoid the ...

3. Integration of struts2..x with Ejb3.0    coderanch.com

4. Problem in integrating EJB3.0 with Struts    coderanch.com

Hello Experts, I am facing some problem in integration of struts 1.2.9 with EJB 3.0.I am using Netbeans 6.0.I have Deployed & undeployed the EJB module.I have also added the EJB module project as a jar file in my client project.I have already googled this error but didn't find anything useful.Please help.Many Thanks in advance. This is my stateless bean package ...

6. Need help on EJB 3.0 and Struts 2.0    coderanch.com

7. how can i display my data on jsp page in struts2    java-forums.org

package com.action; import java.util.Iterator; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.EntityTransaction; import javax.persistence.Persistence; import javax.persistence.Query; import org.apache.struts2.convention.annotation.*; import org.apache.struts2.rest.DefaultHttpHeaders; import com.opensymphony.xwork2.ActionSupport; @ParentPackage(value="default") @Namespace("/") @ResultPath(value="/") public class noOfUsers extends ActionSupport { private static final long serialVersionUID = 1L; @Action(value="usersn",results={ @Result(name="create",type="tiles",location="users") }) public static DefaultHttpHeaders create(){ EntityManagerFactory emf=Persistence.createEntityManagerFactory("tujpa"); EntityManager em=emf.createEntityManager(); EntityTransaction entr=em.getTransaction(); entr.begin(); Query query=em.createQuery("SELECT U.firstname from User U"); List list ...