EJB 1 « EJB « Spring Q&A





1. Java EE video lectures    stackoverflow.com

There are plenty of java videos and video lectures floating about, but does anyone know of any that deal specifically with Java EE? For my own point of view I'd be ...

2. Are EJBs still useful? And what are the Spring Framework ways to replace EJBs?    stackoverflow.com

I have read for a while that EJBs are not useful or cumbersome. But what other ways implement the business delegate pattern? How do EJBs differ from the approach the Spring ...

3. using spring with ejb    stackoverflow.com

Hi have you used spring and EJB together in a project? It it's good or not. And how, what you used spring and EJB for? thanks

4. spring framework why is better    stackoverflow.com

What is better spring framework or ejb?

5. Why EJB, Spring Framework, .NET Framework etc can scale?    stackoverflow.com

EJB, Spring Framework, .NET Framework etc are different frameworks, but I do believe they have some common designs/architecture/model that make them able to scale. What are these common designs/architecture? N-tier (Web/Presentation, ...

6. Download ejb components according to our need?    forum.springsource.org

Hi, I want to construct an application using EJB3 which treat for example a subject "Manage a travel agency. ".. by assembling the components in jar format already existed and we ...

7. EJB Create failure    forum.springsource.org

EJB Create failure Our application invokes an external EJB (possibly running on another VM) to fulfill some business services. This has been successfully unit tested. The unit tests run within Eclipse ...

8. App. with EJBs - package and class structure    forum.springsource.org

This is a pretty broad question. Can you elaborate at all? Are you separating EJB Container/Web Container/Client classes? Re: packing just necessary classes If you know which classes MUST be included ...

9. LazyInitialization with EJBs    forum.springsource.org

Is it possible or not to use (Hibernate) lazy approach (OpenSessionInViewInterceptor) when accessing data with EJB Session object (local)? From what I understood from 'Hibernate in Action' (and my understandment (not ...





10. Ejb interface problem on websphere 4    forum.springsource.org

Ejb interface problem on websphere 4 Hi, I am new to Spring. i am using Spring to manage EJB connection. it is working fine on the WSAD environment. but when I ...

11. NullPointerException in getBeanFactory() (EJB + Spring)    forum.springsource.org

NullPointerException in getBeanFactory() (EJB + Spring) Hi All, I am trying to follow the Spring documentation and have defined a bean as below. I use Xdoclet to generate the session bean ...

12. NameNotFoundException: ejb not bound    forum.springsource.org

Register Help Remember Me? Forum Today's Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links View Forum Leaders What's New? Advanced Search ...

13. Integrating Logging with Main EJB Application    forum.springsource.org

Integrating Logging with Main EJB Application Hi, I am using Spring AOP 3.1, AspectJ and log4j for logging (I am using annotations). So I created an Advice class, a Business Logic ...

14. calling an EJB with SimpleRemoteStatelessSessionProxyFactoryBean    forum.springsource.org

calling an EJB with SimpleRemoteStatelessSessionProxyFactoryBean i am trying to call an ejb with the configuration below. Is it posible to set the number of ejb stubs. in my application, there will ...

15. org.omg.CORBA.NO_IMPLEMENT: No Cluster Data Available Spring calling EJB    forum.springsource.org

org.omg.CORBA.NO_IMPLEMENT: No Cluster Data Available Spring calling EJB Hi, I am facing an issue while calling EJB. But I got below exception couple of times. Can you let me know the ...

16. EJB home [null] has no no-arg create() method. It's there    forum.springsource.org

Nov 1st, 2004, 01:30 PM #1 tnine View Profile View Forum Posts Private Message Member Join Date Nov 2004 Posts 94 EJB home [null] has no no-arg create() method. It's there ...





17. Load-balancing business objects (EJB alternatives?)    forum.springsource.org

I know that JBoss, and am sure many others, provide for load-balancing SLSB's. Is this a good way to go, or is there a better way of achieving this without EJB? ...

18. Help with using EJB and Spring's EJB implementation classes    forum.springsource.org

Help with using EJB and Spring's EJB implementation classes Hi, I read the documentation, the reference manual and the Javadocs, however, I am still having difficulty getting started with using Spring ...

19. Scaling from "within" without EJB    forum.springsource.org

Hi, Appreciated the answers I received on my other post (http://forum.springframework.org/showthread.php?t=11351). The concept of having multiple Tomcats with Apache up front is a good one for scalability, but we also have ...

20. Spring, JAAS and EJB    forum.springsource.org

Spring, JAAS and EJB Hi guys. I am currently writing a web application which consists of the actual web part and the business part. The web part is implemented using Spring ...

21. [Help] Error using EJB    forum.springsource.org

I have a Spring Controller and 2 Session bean. When I declare 2 bean (as follow code), I can use them normally Code: @Controller @RequestMapping("index.htm") public class LoginController { @EJB private ...

22. Comments to this way of implementing Spring into ejbs    forum.springsource.org

Jan 1st, 2005, 02:48 PM #1 geira View Profile View Forum Posts Private Message Member Join Date Dec 2004 Posts 66 Comments to this way of implementing Spring into ejbs I ...

23. trouble using Spring with EJB    forum.springsource.org

trouble using Spring with EJB hi everyone spring is an interesting os-project. that's why i wanted to introduce the possibilities of lightweight architectures to my company. our products have a classic ...

24. Getting Exception when Deploying only EJB plz help    forum.springsource.org

Mar 3rd, 2005, 06:03 AM #1 sivavp View Profile View Forum Posts Private Message Junior Member Join Date Mar 2005 Location Bangalore, India. Posts 10 Getting Exception when Deploying only EJB ...

25. EJB communication    forum.springsource.org

EJB communication Hello, I'm trying to call an EJB within another EJB. But for the businessInterface property in app context is giving me an error. Following is what I get. nested ...

26. EJB lookup    forum.springsource.org

EJB lookup Hello, would anyone be able to help me out the problem I'm having below? I am not sure why I'm getting this error. Thanks bunch! [3/30/05 21:27:07:781 PST] 2cb569b1 ...

27. Applying an additional BeanPostProcessor to Spring EJBs    forum.springsource.org

Applying an additional BeanPostProcessor to Spring EJBs All, I have successfully managed to set up a remote client calling into a springified Stateless Session Bean which extends AbstractStatelessSessionBean. Accessing the default ...

28. implementing EJB with Spring    forum.springsource.org

implementing EJB with Spring Hi, In our project we are using Spring in the business layer where several existing EJB's are remotely accessed. Now we have decided that we need to ...

29. Overriding setSessionContext EJB method issue    forum.springsource.org

Overriding setSessionContext EJB method issue Hi , I am overriding the setSessionContext with BeanFactoryLocator variant ContextSingletonBeanFactoryLocatore and getting this error : I do have the bean id defined in applicationContext.xml file. ...

30. Shared BeanFactory between EJB's in Websphere 5.0?    forum.springsource.org

Shared BeanFactory between EJB's in Websphere 5.0? Hi. I am trying to get a common BeanFactory instance between 4 EJB:s (1ssb and 3 mdb:s) in Websphere 5.0. I have had my ...

31. Spring's Accessing Ejb which are built without spring    forum.springsource.org

Spring's Accessing Ejb which are built without spring I have a question that is whether a client (a spring web controller ) can acess ejb which is not implemented in spring ...

32. Any thought about enabling existing EJB deployment in Spring    forum.springsource.org

Any thought about enabling existing EJB deployment in Spring Anybody thought about enable Spring to deploy an existing EJB-JAR? I didn't mean to access EJB component in the EJB way, it ...

33. Equivalent of WebApplicationContextUtils for EJB    forum.springsource.org

For an EJBModule, it will be nice to have the equivalent of functionality of WebApplicationContextUtils . How else could you get to the ApplicationContext and hence to the bean specified in ...

34. Trying to lookup ejbs with Spring    forum.springsource.org

Trying to lookup ejbs with Spring Hi Im trying to use Spring to replace a class that is basically a wrapper class that provides a method for every method in an ...

35. JNDI-lookup problem with EJBs    forum.springsource.org

JNDI-lookup problem with EJBs I started using the Spring Framework recently to employ it's Dependency Injection functionalities. It worked perfectly for me when handling POJOs, however, when I tried to inject ...

36. JNDI lookup for an EJB with WAS 5.1 fails    forum.springsource.org

May 26th, 2005, 03:47 AM #1 KSteel View Profile View Forum Posts Private Message Junior Member Join Date May 2005 Posts 3 JNDI lookup for an EJB with WAS 5.1 fails ...

37. Migrating from EJB -> Spring    forum.springsource.org

Migrating from EJB -> Spring From reading Rod Johnson's books I am sold on the benefits of Spring. I'd like to take a medium-size application we've developed and migrate it to ...

38. how to map sync EJB call to async JMS req/resp pair    forum.springsource.org

how to map sync EJB call to async JMS req/resp pair Folks, Basically, we have the situation our session bean synchronous call map to asynchronous JMS messages. In other words, a ...

39. Spring EJB and xdoclet    forum.springsource.org

Spring EJB and xdoclet Hello there! I've ejbdoclet to create my Remote and home interfaces. When I changed my EBJ Bean to extend AbstractStatelessSessionBean. The xdoclet stoped generating those interfaces and ...

40. Some Doubts regarding EJB's    forum.springsource.org

Some Doubts regarding EJB's Hi Guys: I am new to Spring. I know how the EJB's work with spring (somewhat manually ). I can write a program with the help of ...

41. JMX wihtin EJB's    forum.springsource.org

Jul 3rd, 2005, 03:54 AM #1 FelderR View Profile View Forum Posts Private Message Visit Homepage Junior Member Join Date Jan 2005 Location Austria Posts 20 JMX wihtin EJB's Hi, I ...

42. ClassPathXmlApplicationContext in EJB    forum.springsource.org

ClassPathXmlApplicationContext in EJB I have created a singleton that uses ClassPathXmlApplicationContext. The singleton uses context path string of "**/*-context.xml". In a stand alone app, or a JUnit test script, this code ...

43. [ ejb ] sample    forum.springsource.org

44. Cannot locate EJB via JNDI in WebSphere Server    forum.springsource.org

Cannot locate EJB via JNDI in WebSphere Server Hi, I'm trying to access a session bean with the LocalStatelessSessionProxyFactoryBean. The bean is configured as following: Code:

45. ClassCastException and web/ejb classloading    forum.springsource.org

ClassCastException and web/ejb classloading Hi we are using Spring with acegi security, During authentication we get this exception: java.lang.ClassCastException: net.sf.acegisecurity.providers.dao.User at $Proxy0.loadUserByUsernameAndPassword(Unknown Source) at net.sf.acegisecurity.providers.dao.PasswordDaoAuth enticationProvider.getUserFromBackend(PasswordDaoA uthenticationProvider.java:298) at net.sf.acegisecurity.providers.dao.PasswordDaoAuth enticationProvider.authenticate(PasswordDaoAuthent icationProvider.java:174) ...

46. Problem using EJBs and ThreadLocal variables with spring    forum.springsource.org

Problem using EJBs and ThreadLocal variables with spring Hi Spring gurus, I'm developing a web application for a customer and I decided to use spring for the first time. All the ...

47. how to register EJB into OC4J JNDI tree on app server start    forum.springsource.org

Sep 28th, 2005, 03:29 AM #1 jasonmcdermott View Profile View Forum Posts Private Message Junior Member Join Date Sep 2005 Posts 8 how to register EJB into OC4J JNDI tree on ...

48. Design/Architec Question about replacing EJB with SPRING    forum.springsource.org

Design/Architec Question about replacing EJB with SPRING Hi, I would like to know opinion of poeple that have done this work before. I need some design guide line before starting the ...

49. when to use EJB    forum.springsource.org

when to use EJB Hi - we're considering implementing a workflow project and we need to figure out if we need EJB. The web application will run on a UNIX machine, ...

50. Spring EJB & EBJDoclet problem    forum.springsource.org

51. Spring EJB & EBJDoclet problem    forum.springsource.org

* @ejb.home extends="javax.ejb.EJBHome" * local-extends="javax.ejb.EJBLocalHome" * * @ejb.interface extends="javax.ejb.EJBObject" * local-extends="javax.ejb.EJBLocalObject"

52. Using SingletonContext in Web/EJB App instead of WebApplicat    forum.springsource.org

Using SingletonContext in Web/EJB App instead of WebApplicat Hi, I have a simple question of creating ApplicationContext instead of WEBAppContext and sharing it in all the modules. I plan to implement ...

53. Letting Spring go on even though EJB can not be invoked    forum.springsource.org

Letting Spring go on even though EJB can not be invoked Hi, I have configured a EJB session bean "myBean" using the org.springframework.ejb.access.SimpleRemoteStatele ssSessionProxyFactoryBean. Its properties are set as: ...

54. Architectural question (Ageci with EJB+WEB+Spring+ADS)    forum.springsource.org

Architectural question (Ageci with EJB+WEB+Spring+ADS) Hi, I have a small architectural question to ask. I have the mandat to "securize" a J2EE web Application (an application that still use EJB and ...

55. EJB echoService Example Problems    forum.springsource.org

EJB echoService Example Problems Hi I am trying to deploy the echoService (Pro Spring) example in my Jboss-4.0.2. This is my first time with Spring and EJBs. When I try to ...

56. EJB Home no-arg create() method    forum.springsource.org

EJB Home no-arg create() method We are running Remote EJBs in Weblogic and implementing/accessing them using Spring. When we run a unit-test, we are able to call functions on the EJB. ...

57. ClassNotFoundException when converting an email application from EJB    forum.springsource.org

ClassNotFoundException when converting an email application from EJB I have tried to convert an email application from EJB to Spring/Hibernate. I have posted this in Hibernate's forum but there isn't any ...

58. EJB Singelton    forum.springsource.org

EJB Singelton Hello I'm working on a J2EE project at the moment, and to solve a synchronization issue between the diffrent clients connecting to the server and useing my enterprise beans. ...

59. what should i need to call an EJB    forum.springsource.org

what should i need to call an EJB i've read through the Spring Reference document but, i still can't figure out clearly the implementation. indeed now, i want to wrap an ...

60. call ejb from another ejb    forum.springsource.org

call ejb from another ejb Hi, i try to call a session bean from another session bean by local interfaces in JBOSS 3.2.3 I configure in right way the xml descriptor. ...

61. Websphere problem invoking ejbs    forum.springsource.org

Websphere problem invoking ejbs Hello, I have the following transaction synchronization problem in WebSphere 6, when invoking an ejb with transaction required attribute from a transactional spring service. I get the ...

62. Distributed systems without ejbs?    forum.springsource.org

You can replace EJBs with some other remoting strategy. However, if you have transactions that involve an EJB call that participates as part of a JTA transaction, you won't be able ...

63. Problems creating EJB with Spring    forum.springsource.org

Problems creating EJB with Spring Hello, I have some problems creating a stateless SessionBean with spring. My code is this: public void ejbCreate() throws CreateException { System.out.println("ejbCreate"); super.ejbCreate(); } public void ...

64. Best way to package & deploy spring EJBs    forum.springsource.org

Hello, what is the best/prefered way to ship out spring-EJB applications? Should I pack the spring.jar and dependencies within the application.jar or deploy it to (JBoss) .../server/default/lib? Any suggestions? Thank you. ...

65. ejb Client with just main() ?    forum.springsource.org

Hi all, I'm trying to write a simple app that will access our ejb beans - which extends Springs AbstractStatelessSessionBean - remotely, outside of either a web or ejb container, via ...

66. EJB related Springframework clasess    forum.springsource.org

67. EJB invoking of different app servers    forum.springsource.org

App server host is configured dinamic, i.e. I don`t know which app server EJB bean will be raised. Is it possible such invoking with the help Spring? Thanks a lot

68. Calling remotely deployed EJB from Java application    forum.springsource.org

69. Web and EJB classloader problem    forum.springsource.org

Web and EJB classloader problem I have an application that supports a business delegate EJB and MDBs. These components utilize beans created from an application context. A single root config xml ...

70. Calling legacy EJB from Spring issue    forum.springsource.org

Calling legacy EJB from Spring issue Hi, Currently trying to access legacy EJBs using Spring MVC. I am utilising SimpleRemoteStatelessSessionProxyFactoryBean of Spring as a proxy to the EJB. The configuration is ...

71. Spring EJB    forum.springsource.org

Spring EJB Hi I am attempting to recreate the two examples from the Pro Spring book on IBM Websphere 6.0. I am having tough time of it (http://jroller.com/page/peter_pilgrim) It would appear ...

72. EJB Resource References and Spring    forum.springsource.org

EJB Resource References and Spring I have a project where I have stateless session EJBs, and I am using the spring framework within the EJBs by extending AbstractStatelessSessionBean. In my spring ...

73. Srping 2.0 + EJB + Geronimo 1.1    forum.springsource.org

Srping 2.0 + EJB + Geronimo 1.1 Hi, I've got an ear running in Geronimo 1.1, with a EJB jar and a web app. the openejb-jar.xml file contains just a SLSB: ...

74. EJB / JNDI Lookup - URGENT HELP!    forum.springsource.org

EJB / JNDI Lookup - URGENT HELP! Hello, I'm trying to use Spring wrapping an EJB. Here is my applicationContext.xml: Code: iiop://ua211.XXXXXX.com:XXXXXX

75. An EJB exception    forum.springsource.org

Nov 8th, 2006, 06:30 PM #1 vw729 View Profile View Forum Posts Private Message Visit Homepage Senior Member Join Date Aug 2004 Posts 593 An EJB exception I am not sure ...

76. AbstractFactory/EJB / redesign with Spring    forum.springsource.org

AbstractFactory/EJB / redesign with Spring hi all, i have developed a J2EE application made of SLSB and EEJB, and i wanted to port this application to Spring but i have some ...

77. EJB with Spring    forum.springsource.org

Hi, I have one problem we have an application build on Model2 framework we are planning to move it springframework and hibernate, How feasible using EJB with spring . thanks sri ...

78. problems with env-entry (EJB - SPRING )    forum.springsource.org

problems with env-entry (EJB - SPRING ) Hi I am trying to set up an session bean with spring capabilities the problem is that i can not register the entry Hi ...

79. Spring alternative to Local EJB Architecture?    forum.springsource.org

Spring alternative to Local EJB Architecture? Hello, I have just started to learn about the Spring framework, but I'm considering it as an alternative for my web applications development. Before taking ...

80. Recommendations for moving away from EJB architecture    forum.springsource.org

Recommendations for moving away from EJB architecture We are responsible for approximately 200 websites with varying levels of functionality from basic "brochureware" sites to social networking collaborative sites. Currently, each site ...

81. org.springframework.ejb.config.JeeNamespaceHandler not found    forum.springsource.org

org.springframework.ejb.config.JeeNamespaceHandler not found I'm receiving a lot of error messages in my JBoss with the following text: ------- 2007-01-11 19:24:42,131 DEBUG [org.springframework.beans.factory.xml.DefaultNames paceHandlerResolver] Ignoring handler [org.springframework.ejb.config.JeeNamespaceHandler]: class not found java.lang.ClassNotFoundException: org.springframework.ejb.config.JeeNamespaceHandler ...

82. Keeping EJB's?    forum.springsource.org

Hi. A beginners question here Just started using Spring, and introducing it to a system with tons of legacy code. I use a SimpleRemoteStatelessSessionProxyFactoryBean to get an EJB from an OC4J ...

83. Added value of EJB convenience classes ?    forum.springsource.org

Hi. Can someone describe the advantages of using convenience classes such as AbstractStatelessSessionBean vs. standard J2EE EJB APIs ? In my case the business session beans are accessed by the presentation ...

84. MDB+Spring+EJB    forum.springsource.org

Hi, My application (EJB Project) deployed on WebSphere uses MDB as an entry point. MDB calls Spring code. Now, I need to call a stateless session bean from Spring code (I ...

85. How to implement lazy-loading in EJB - Spring?    forum.springsource.org

How to implement lazy-loading in EJB - Spring? I need no access spring service-layer from ejb. Inside spring I use "Open Session In View" (OSIV) pattern to access hibernate session in ...

86. alternative to local SLSB ejb    forum.springsource.org

Sorry for bothering you again, but neither forum, not google search reveal any crear answer. Is there alternative to local slsb. Namely: - client and server are in the same jvm ...

87. Im goin for an interview ( ejb)    forum.springsource.org

hi im 23 im a java developer, im called for an interview on 1/4/2007, what are the basic questions i need to prepare before attending the interview. Anybody knows where i ...

88. Mix Spring with EJB    forum.springsource.org

Hi everyone! Let me introduce you my open source project: "fast4j :: EJB Bridge". This project lets you to build a Spring context, made of your business services, embed it in ...

89. Spring invoked EJBs    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 ...

90. Accessing EJB from within another EJB    forum.springsource.org

In my OC4J, each service is deployed as it's own application. I need to access one service from another, but I don't know how. Let's say I want to access service ...

91. EJB problem    forum.springsource.org

Apr 26th, 2007, 03:25 AM #1 g_svadla View Profile View Forum Posts Private Message Junior Member Join Date Apr 2007 Posts 1 EJB problem hi I am new to EJBs. I ...

92. ClassCastException using EJB+Spring on Websphere AS    forum.springsource.org

ClassCastException using EJB+Spring on Websphere AS Hi , I am using Spring + EJB on websphere. My applicationContext.xml looks like the below: Code:

93. Blog - Spring or EJB?    forum.springsource.org

94. Is possible Ejb application deploy in spring framework    forum.springsource.org

Hi, I have a doubt on using Ejb in spring framework.can we use developed EJB application to deploy a spring framework? I saw many samples pojo classes used as a ejb ...

95. EJB requires new    forum.springsource.org

EJB requires new Hi I have a problem with last project that integrates EJB, Spring and Hibernate. First, i would like to present architecture: WEB TIER -> EJBRemote ServiceA(BMT) -> Transaction ...

96. Possible to incorporate Spring into existing EJB application???    forum.springsource.org

Possible to incorporate Spring into existing EJB application??? Hi all, I have a current application running on EJBs and I need to build a new module for this application and would ...

97. spring & ejb    forum.springsource.org

spring & ejb I am trying to deploy a stateless sesion bean on weblogicserver8.1. When I try to deploy the application it is giving me the following error message. class: org/springframework/ejb/support/AbstractStatelessSessionBean ...

98. What's wrong with EJB?    forum.springsource.org

I was reading about Spring Transactions in the docs, and found the following quote: The negatives around EJB in general are so great that this is not an attractive proposition, especially ...

99. Spring EJBS Abstract classes    forum.springsource.org

Hi , I am new to spring .But i have one doubt that , is it really advisable to use abstract EJBS classes which is provided by Spring . Instead of ...

100. Using single Spring instance in EJB and Web tiers    forum.springsource.org

Using single Spring instance in EJB and Web tiers Hello, I want to use single Spring instance in EJB container and Web Tier. My options are: 1. Use 'AbstractStatelessSessionBean' as base ...