Siplin Ayishoto

Greenhorn
+ Follow
since Nov 25, 2002
Merit badge: grant badges
For More
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 Siplin Ayishoto

Honestly, I doubt if the question was framed properly.
Also, this statement:

In short, as far as possible, we should avoid making use of stateful session beans. why is it so?


Maybe the answer was expected to be in the lines of a school of thought "stateful session beans do not scale as well as stateless", which I personally feel is just an off-the-cuff remark. Also, was the question asked without a context?
Where you need to store the context is entirely dependent on key parameters such as granularity of the transaction.

-Siplin
. o O (Only if I could guess the context correctly)

IMHO interfaces are used indicating classes, in conjunction with factories,
etc., in a design similar to IOC/design-by-contract.

Hope this helps.

-Siplin
We had used quartz in our earlier application, mainly because weblogic 6.1
had deprecated their timer classes. As far as I remember quartz is easy to
use. You have to extend the class, and implement the method

This would be your job. Then use the to
invoke your jobs.

There definitely are other services you can use. If you are looking at J2EE
applications, you can probably make use of the EJB timer services included
in the EJB 2.1 specs.
http://www2.theserverside.com/articles/article.tss?l=MonsonHaefel-Column4

Hope this helps,
Siplin
Why dont you catch that exception? (it is not a runtime exception...)
Also, I dont see what you can achieve by knowing it 'beforehand'.
-Siplin
[ November 10, 2004: Message edited by: Siplin Ayishoto ]

Originally posted by Kunal Verma:
Hi
You have an option of configuring Foriegn JMS Server in the application server.


I thought this is only in WebLogic 8.1.
Is this available in JBOSS? I thought JBOSS doesn't even Messaging
Bridge...
I thought the yes or no depends on what is the new functionality you
want to add. Also need to be clear is the options you explored before
choosing inheritance.

-Siplin
As Gabriel said, did you put "package converter;" in your Coverter classes?
What is the error you are getting now?
Your posting is titled "EJB hanging". What is that?

-Siplin
I thought the idea behind EJBs is to free the programmer from such dirty
work. If you feel the urge to multithread a helper, maybe the problem lies
elsewhere. Maybe architecture of the system itself might need a major
rehaul...

-Siplin
I do not have exact knowledge of how it works on JBoss, but can vaguely
suggest something. I have done a similar exercise on WebLogic 6.1, to
bind to MQSeries queues. The basic idea is to make the queue 'discoverable'
by the MDB.

First discover the foreign QueueConnectionFactory, Queue, etc., using
appropriate context, and then bind these to the local JNDI. Think you have
to do it in a startup class or a session bean that is loaded prior to your
MDB.




Hope this helps you in someway.
-Siplin