EJB 3 « EJB « Spring Q&A





1. Spring 2.5 in EJB container    stackoverflow.com

I would like to use the spring framework within an EJB3 project. In detail I would like to use the JDBC template class which should be instantinated from a given data ...

2. Career Choice in JEE, are EJBs standard?    stackoverflow.com

I have chosen to go the JEE route for a career path but I have been having a hard time determining which core technologies that I need to be most familiar ...

3. Enterprise Application    stackoverflow.com

I am thinking about a platform for study application (it is team work). I mean standart JEE 5 (or maybe try raw JEE 6) and Spring. What is your choose? (I ...

4. Help with ejb 3, weblogic and spring    stackoverflow.com

I've created a simple EJB3 test project, the code is simple:

@Stateless
@Remote( { ISumaSimple.class })
public class SumaSimpleBean implements ISumaSimple {

    /**
     * Default constructor.
  ...

5. Integrating EJB3 with Spring    stackoverflow.com

I'm building application with EJB and Spring 3. I have three maven modules - Spring jars, EJB jar and web part. In the web part I want to call my EJB ...

6. What features does EJB3 bring and also how does EJB3 stack up with the Spring Framework?    stackoverflow.com

I have never worked on ejb, when I started programming Spring was already arrived and all my projects have been with Spring only, recently I had one interview and they wanted ...

7. Pure EJB 3.0 Spring's ThreadPoolTaskExecutor-like solution    stackoverflow.com

In my application based on EJB3.0 and JBoss5 I need to implement functionality which allows multiple instructions to be processed simultaneously. E.g. there is a stateful listening EJB, which in case ...

8. Is there any Spring @Required annotation equivalent in EJB 3.0?    stackoverflow.com

Is there any equivalent annotation in EJB for @Required (Spring)? I do dependency injection using setters and I want to be sure that resource was injected (almost no probability of NullPointerException ...

9. Dependency Injection EJB 3 - too many choices?    stackoverflow.com

we are starting a new project based on EJB 3.0. i have a "spring" based background (and love it), so for me loose coupling and testability is a big must have. ...





10. Spring EJB3 JNDI Environment Variables Problem    stackoverflow.com

I am having problem in calling an remote EJB on another server. The JNDI environment variables seem to be used when spring lookup the EJB home on startup. However, those environment ...

11. How is the EJB Implementation getting hooked up in here?    stackoverflow.com

package com.apress.springrecipes.post;
import javax.ejb.Remote;
import javax.ejb.Stateless;
@Stateless
@Remote( { PostageService.class })
public class PostageServiceBean implements PostageService {
    public double calculatePostage(String country, double weight) {
    return 1.0;
}
}

     ...

12. how to make choice between spring framework and EJB3    stackoverflow.com

Possible Duplicate:
JEE6 vs. Spring 3 stack
Let I’m going to develop a mission critical application which will be massively transaction based. I will do it ...

13. EJB 3.1 or Spring 3.. When to choose which one?    stackoverflow.com

EJB achieved many improvements in 3.x versions, Spring is also commonly used and version 3 is a good alternative. There are many articles on web, but no exact comparison about ejb3x versus ...

14. EJB3.0 without Spring :-)    forum.springsource.org

I was reading this article from TSS http://theserverside.com/news/thread...hread_id=29318 Now that EJB is getting improvement: EJB 3.0 is a deep overhaul of the old EJB specification. Its goals are to simplify development, ...

15. EJB3    forum.springsource.org

I'm looking at EJB 3 draft spec. It seem that this model has many common elements with Spring. So i'd like to have your though about expanding Spring and Hibernate to ...

16. How to use ejb 3 in spring 3    forum.springsource.org

How to use ejb 3 in spring 3 Hi, I am beginner to spring and currently i am involved in application design of our project. We are using spring 3 and ...





17. spring 3 accessing EJB3    forum.springsource.org

spring 3 accessing EJB3 Hi all! Please can you tell me what's wrong or what Im am missing in order to access EJB within Spring? here's my applicaation context file: Code: ...

18. EJB 3 Spring Webflow    forum.springsource.org

Hi, Im having EJB 3 annotated Service(Stateless) and DAO with JPA. Wanted to invoke service object from Spring webflow Action class, since the service objects on EJB container, not sure how ...

19. Mastering EJB 3rd Edition - FUD about Spring?    forum.springsource.org

Mastering EJB 3rd Edition - FUD about Spring? These comments relate to the downloadable pdf of Mastering EJB 3rd Edition on theServerSide A couple of points struck me as either plain ...

20. On java article Spring and EJB3    forum.springsource.org

The examples in this article are very carefully chosen to reflect well on EJB3 vs. Spring. It made me notice how well the EJB3 spec is suited for extremely simple examples. ...

21. JavaOne Hands-On Lab: Prepare for EJB 3.0 Today    forum.springsource.org

JavaOne Hands-On Lab: Prepare for EJB 3.0 Today All, we would like to announce that our Hands-On Lab "Prepare for EJB 3.0 Today using Hibernate, Spring and a Standard EJB 2.x ...

22. Spring and EJB3    forum.springsource.org

Spring and EJB3 Greetings, I'm trying to call EJB3 stateless session bean from a client employing Spring and following example from http://www.springframework.org/docs/reference/ejb.html. I'm getting an exception in reards to home interface: ...

23. EJB3 persistence support (non native). any thoughts?    forum.springsource.org

24. Spring and EJB 3    forum.springsource.org

Spring and EJB 3 Hi, I am quite new to Spring (recently read the spring in action book, it's nice , tried a few things based on that) and now I ...

25. EJB 3 problems related to EJBHome?    forum.springsource.org

EJB 3 problems related to EJBHome? Hello. I have deployed a totally simple stateless session bean to Sun's Application Server 9. This stateless session bean is in an EJB jar that ...

26. EJB3 naming && EAR && Maven 2    forum.springsource.org

EJB3 naming && EAR && Maven 2 I have a client aplication in swing that uses spring. It also uses EJB3 services deployed in an EAR in an application server. Full ...

27. Less configuration using annotations (Custom Annotations or EJB3 Annotations)    forum.springsource.org

Less configuration using annotations (Custom Annotations or EJB3 Annotations) I'm running a project at Java.net and would like some opinions about it. the name of the project is spring-annotation, and it's ...

28. Spring and EJB3 on JBoss    forum.springsource.org

Hi, Has anybody tried to Spring enable an EJB3 SLSB on JBOSS 4.0.4-GA? The bean(follow link below to se example) extends the AbstractStatelessSessionBean, but the onEjbCreate() is never invoked.... Perhaps Spring ...

29. EJB 3 Listeners / Callbacks and Spring replacement    forum.springsource.org

Hi, I am currently in the process of replacing an EJB3 layer with a lightweight POJO alternative and I am interested to know what the best approach is to implementing the ...

30. Spring2 + EJB3 + JBoss405    forum.springsource.org

Spring2 + EJB3 + JBoss405 Hello, I've been trying to use a SLSB from a Stripes ActionBean, but for some reason it doesn't work. Checking the JMX console, the SLSB looks ...

31. Spring behind EJB3 SLSBs    forum.springsource.org

Spring behind EJB3 SLSBs Hi, Many of the internal services at our company are provided using EJB 2.1 remote SLSBs. Each service is often used by multiple different client applications. We ...

32. SpringContext from EJB3 ??    forum.springsource.org

Is it possible to get hold of the Spring context (for IoC and Hibernate support that is already in the application), while using EJB3 ? I guess I'm asking for a ...

33. Looking up a SLSB EJB3    forum.springsource.org

Code: .... public byte[] generateUUID() { System.out.println("Generated by.." + this.hashCode()); return generator.generateRandomBasedUUID().asByteArray(); }

34. EJB3: problems with onEjbCreate and getBeanFactory()    forum.springsource.org

EJB3: problems with onEjbCreate and getBeanFactory() Hello: Currently I am developing an application that has a Stateless Bean with EJB3 specification. This ejb is also supposed to contact a simple pojo ...

35. EJB3 - Thick Client    forum.springsource.org

EJB3 - Thick Client Hi, After spending a day in this forum, could realize that Acegi gels well for Thick client! our project scenario is that we have EJB3 facade and ...

36. How to call SL EJB(3.0) using remoting?    forum.springsource.org

Hi, I am aware that EJBs(2.0) Stateless or Stateful can be called using Spring Remoting. I am now planning to use EJB (3.0). Can we still call the EJBs using Spring ...

37. Accessing EJB 2.0 using Spring 2.0.3    forum.springsource.org

Hi All, Is it generally a good idea to use Spring to access preexisting EJB. The EJB that I need to access in my application are not built using Spring APIs ...

38. Injecting Stateless EJB 3 with Spring 2.x    forum.springsource.org

Injecting Stateless EJB 3 with Spring 2.x I'm working on a reference implementation with Spring 2 and EJB 3. I'm using JBoss 4.2.0, Spring 2.0.5 with the new Sun SDK 5. ...

39. EJB3 in an EAR file    forum.springsource.org

EJB3 in an EAR file Hi all, I have inherited a system that contains EJB2.1 and Spring, and my task is to remove the EJB v2.1 components and replace them with ...

40. SpringContextResourceAdapter (2.1m4) and EJB3    forum.springsource.org

SpringContextResourceAdapter (2.1m4) and EJB3 I am working on a Project, that provides an EJB3 API to the outside world. Needless to say this is a headless project (no web interface). My ...

41. Dumb question about ejb3    forum.springsource.org

What IDE supports it from a development perspective? What app server? Eclipse WTP doesn't seem to support it yet. I want to develop a prototype with it but can't seem to ...

42. Spring/JBoss/EJB3 -> Problems calling ejbs    forum.springsource.org

Jan 30th, 2008, 11:47 AM #1 qnob View Profile View Forum Posts Private Message Junior Member Join Date Mar 2007 Posts 9 Spring/JBoss/EJB3 -> Problems calling ejbs Hello! I've put JBoss ...

43. Spring Context +EJB3 Clustering    forum.springsource.org

Spring Context +EJB3 Clustering Hello everyone. Thanks for reading. Here's the issue: In my company were working on a project that needs to psychically separate business tier and presentation tier, moreover ...

44. MDB/EJB3/Spring    forum.springsource.org

MDB/EJB3/Spring hi all, i was wondering how can i implement the following scenario.. we are movign from existing app (web + spring) towards EJB3.. I have some JMS client (implemented using ...

45. EJB 3.0 with Spring 2.0    forum.springsource.org

Do you mean on the client or server? Client side is simple. The EJB3 object is just a JNDI object which implements a particular interface. So you can use JndiObjectFactory to ...

46. Which is the best EJB3 provider?    forum.springsource.org

Of course, because what would be the point of a solution that didn't do that? It is used on many large internet sites, as well as company internal systems. There really ...

47. Local Websphere EJB lookup fails in 2.5.3 and worked in 2.5.2    forum.springsource.org

I think this problem surfaced again. I recently updated Spring to 2.5.3 and got the exact problem described here http://jira.springframework.org/browse/SPR-4319 To fix this problem, I downgraded back to 2.5.2 and the ...

48. EJB3 XML injection configuration seems to work but get NullPointerException    forum.springsource.org

Apr 22nd, 2008, 12:06 AM #1 WolfEng View Profile View Forum Posts Private Message Junior Member Join Date Apr 2008 Posts 2 EJB3 XML injection configuration seems to work but get ...

49. Calling EJB3 SLSB with Spring : what syntax ?    forum.springsource.org

Hi. I find the Spring 2.5 manual (chapter 18) unclear regarding the syntax that EJB3 clients need to declare in order to be able to call a remote SLSB EJB3. Should ...

50. Weblogic EJB3 refresh-home-on-connect-failure    forum.springsource.org

Jun 26th, 2008, 06:47 AM #1 olli View Profile View Forum Posts Private Message Junior Member Join Date Jun 2008 Posts 3 Weblogic EJB3 refresh-home-on-connect-failure I'm trying to use jee:remote-slsb with ...

51. Ejb3 with AbstractStatelessSession Spring 2.0.2 on Weblogic 10    forum.springsource.org

Hey, have read contradicting posts about this. Is it true that does not work? Cant get it to work anyway. The onEjbCreate method never gets called.

52. what is the Major difference between EJB 3.0 and Spring.    forum.springsource.org

I am in company ,they have a process-driven framework for its application,Due to perfomance issue ,that framework will be replaced soon.I proposed Spring 2.5 for the new framework but project people ...

53. migrating an EJB3 (or EJB2) app to spring    forum.springsource.org

My other thread shows how I have done it. There are two more posts i made with some code changes to the spring codebase that have not appeared in there yet. ...

54. Regarding Ejb 3.0 Deployment With Spring 2.5    forum.springsource.org

Regarding Ejb 3.0 Deployment With Spring 2.5 Hi All, At present, I am trying my hand in integrating Ejb 3.0 with Spring 2.5. I am using jboss 4.2.2 GA. I am ...

55. Presentation outlining Spring advantages over EJB3?    forum.springsource.org

Presentation outlining Spring advantages over EJB3? I need to convince a group of developers that using Spring (+ Hibernate) is a better approach, or at least compatible with and easily coexistent ...

56. Performance degradation while using EJB3    forum.springsource.org

Hi all, In our current project we are almost convinced to go with EJB3 implementation with Spring MVC. And last question that we still didn't find any good answer for, is: ...

57. Accessing Remote EJB 3 SLSB in JBoss 5.1.0 GA    forum.springsource.org

Accessing Remote EJB 3 SLSB in JBoss 5.1.0 GA Hi, I try to access an EJB3 component hosted in a JBoss 5.1.0GA app server. BTW I'm using the Mule 2.2.1 ESB ...

58. Newbie - Calling EJB3 from spring in tomcat    forum.springsource.org

Sep 17th, 2009, 01:35 PM #1 thinkspace View Profile View Forum Posts Private Message Junior Member Join Date Aug 2006 Posts 19 Newbie - Calling EJB3 from spring in tomcat Hi ...

59. Is possibile EJB 3.0 without annotation?    forum.springsource.org

Hi, is possible to use and declare an EJB 3.0 without annotation? I like not to use @EJB @Remote @Local @Stateless @Autowire annotation. I'm using Spring 2.5.6 on JBoss Portal 2.7.2, ...

60. Spring Dynamic Modules support for EJB3    forum.springsource.org

Spring Dynamic Modules support for EJB3 We are planning to incorporate Spring DM into a J2ee enterprise application that supports EJB3. Our proof-of-concept efforts have resulted in issues with the OSGI ...

61. Spring injecting EJB3 SLSB results in NPE    forum.springsource.org

Aug 18th, 2010, 02:26 AM #1 freiser View Profile View Forum Posts Private Message Junior Member Join Date Aug 2010 Posts 2 Spring injecting EJB3 SLSB results in NPE Hello, I've ...

62. compare EJB3 and Spring 2.0    forums.oracle.com