Search:

Type: Posts; User: ghosh007; Keyword(s):

Search: Search took 0.03 seconds.

  1. Replies
    8
    Views
    2,343

    Actually the singleton method does work. I just...

    Actually the singleton method does work. I just had an issue with my code.
  2. Replies
    8
    Views
    2,343

    What I meant was, create a static ref. to the...

    What I meant was, create a static ref. to the application context in your ejb layer something like this:


    public class ContextGenerator {
    private static ApplicationContext ctx;
    static {...
  3. Replies
    8
    Views
    2,343

    Why don't you load the context in a static...

    Why don't you load the context in a static object(once) and give it out to MDBs and EJBs as required?
  4. Replies
    0
    Views
    863

    ClassCastException in MDB

    Finally I got my MDB & Spring to play together. However, I am getting a strange ClassCastException. This is the error:


    <MessageDrivenBean threw an Exception in onMessage(). The exception was:
    ...
  5. Replies
    2
    Views
    1,096

    I have got it working, well almost. Need a little...

    I have got it working, well almost. Need a little more help.

    I have setup a web project (where the spring beans are) and an EJB project where the MDB resides. I created the applicationContext.xml...
  6. Replies
    2
    Views
    1,096

    MDB & Spring (Newbie question)

    Hi,
    I have a rather large collection of spring beans in my application and I would like to use a MDB in such a way that only ONE instance of the applicationContext is loaded because memory is at a...
Results 1 to 6 of 6