Hi all,
Need your advice on the following questions below. Thanks
in advance!
1. is it possible for ejb or any method in j2ee or any other java method to do cyclic checking. that means, at certain time, certain function is being performed.
2. is it possible for ejb or any method in j2ee or any other java method to send asynchronous message across pc (most probably in the same network).
3. is it possible for ejb or any method in j2ee or any other java method to access shared memory. just like in c or c++, it can create array, or allocated certain memory space and be access by different program.
Regards,
Alvin
-
About EJB programming (1 messages)
- Posted by: Alvin Lim
- Posted on: April 12 2001 03:33 EDT
Threaded Messages (1)
- About EJB programming by Kapil Israni on April 12 2001 10:00 EDT
-
About EJB programming[ Go to top ]
- Posted by: Kapil Israni
- Posted on: April 12 2001 10:00 EDT
- in response to Alvin Lim
Alvin,
the answer to ur second question lies in JMS (Java Messageing Service)
about the third question yes ofcourse u can access shared memory space by defining static variables in class. this is not only way but certianly a very affetive way. the second way wud probably be definin single-ton classes.
first question - well i think u can use JMS for the same, i m not sure tho. also weblogic has a time API which might work for u in this case. again i dont know much bout the time API, so u might wanna look at the documentation.
kapil