Allen Springers

Greenhorn
+ Follow
since Oct 23, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Allen Springers

Hi
I was wondering if it is possible to write a program to reply to an email as soon as an email is received.

For example, I get a listed of emails from database and send out the emails with some information and ask the receivers not to reply as the email will not be received.

However, if people accidently send a reply. I want to send them an email with a message that they should call me.

Is it possible to accomplish this using java, shell script, or stored procedure? Or this is the email server configuration?

Any help in this will be greatly appreciated

Thanks
11 years ago
Hi
I am just wondering, if I am not sure what modifier to use for my member functions, should I always use "public static" modifier?

I read a book, it says that it's always better to use factory method. So I set my defult constructor to private and create a public static getInstance function for creating objects. Is it true?

Thanks
11 years ago
I was reading an article on Sun's website
It says that A message-driven bean has no state for a specific client, but its instance variables can contain state across the handling of client message, including an open database connection and an object reference to an EJB object

From my understanding, the client application must also locate in the server where MDB is located.
Then, inside the client application, I create a MDB object and call its onMessage() method to check messages and determine the owner of the message?

Please let me know if my understanding is not correct

Thanks
If MDB is stateless, how can the messages forward to multiple clients?
To check the content of the message before forwarding?

Thanks