Everytime I log in and the second browser windows appears (I have not idea why a
second window as I am new to weblogic), the console crashes.
1. What is this secoond separate/new window that appears in addition to the window
from whcih I have logged in is for?
2. Has anyone experienced this
Hi,
I have a question in handling StaleConnectionException in DAO called from
EJB.
I have a stateless sessionbean.The bean calls a Helper class and the Helper
class calls the DAO class.
In the DAO class, I have a while loop in each DAO methods.Within the while
loop,I get the datasource and from
Hi,
I want to read a file in EJB in bean method.
I have the file (error.prop) in the ejbmodule/META-INF folder.
When I right click on the ejb and click Run on Server to test it, I get
an Exception.Basically,the call fails in File.exists() method.
Below is the code.Can anyone please tell me the
HiZahir,
Thanks!
It did not work.
Do you have the working code ?is it same as mine?
Please let me know.
Thanks in advance,
Ezhil
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message
Hi ,
I have an EJB running in a JVM which is called from 2 apps. running in
diffrent JVMs.
My questions are as follows..
1. Is there way to version the EJBs that I provide to the client apps?
2. If I include a new method in the EJB (which would be used by only app.
B) and does not modify the
Hi,
How can i handle the StaleConnectionException in DAOs called directly
from EJB(stateless bean)?
Thanks in advance,
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message signoff
Hi,
I have a Singleton class which has many getter methods.
My question is in my Stateless Session bean can I have like below Objects
from singleton as member variable).
public class UserBean implements javax.ejb.SessionBean{
private MysqlDataAccessObject obj = Singleton.getInstance
Hi ,
I have many session beans.I have a properties file which has the app.
specific information.I am using the values from the properties file in all
my beans.
My question is Is there any way to load the properties file only once,
that is, when the first ejb's method gets invoked?
I can put the
Hi ,
I have many session beans.I have a properties file which has the app.
specific information.I am using the values from the properties file in all
my beans.
My question is Is there any way to load the properties file only once,
that is, when the first ejb's method gets invoked?
I can put the
Hi,
Is it safe to have member variables in stateless bean?
I want to use the member variable in bean private methods after assigning
its value in bean's method?
===
To unsubscribe, send email to [EMAIL PROTECTED] and include
Hi,
What is the default transaction attribute for Container Managed
Transaction in EJB 1.1?
Thanks in advance,
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message signoff EJB-INTEREST.
In Bean Managed Transaction, is it necessary to catch the below exceptions
when commit() is called .
javax.transaction.SystemException
javax.transaction.NotSupportedException
javax.transaction.HeuristicException
javax.transaction.HeuristicRollbackException
javax.transaction.RollbackException
Hi,
I have a question.
I have a stateless session bean.Is it good to catch Exception in my bean
method and throw my own exception from the catch block.
Will the container be able to roolback the transaction automatically in
this case?Or is there any drawback in handling exception like this.
Below
Hi,
Thanks for the detailed answer
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message signoff EJB-INTEREST. For general help, send email to
[EMAIL PROTECTED] and include in the body of
Hi,
I have a question.
I have a stateless session bean.
I want to rollback the transaction when an application exception occured.
There are two options to do.Please let me know which one would be better.
Option 1:
try{
//perform database operation}
catch(DataAccessException ex){
Hi,
I use CMT.
1. In my EJB method, I simply delete a record from the Oracle database
using sql query.Which transaction attribute would be appropriate in this
case?
I guess 'NotSupported' is appropriate as I don't have multiple sql queries
to delete.
2. Also, in the same page, when I call a
Hi, I have a question in transaction attribute.
In my stateless sessionbean methods, I just use select sql queries to
fetch the data from the database.
My question is Can I set the transaction attribute to NotSupported for
the above bean methods?
Thanks in advance,
Hi,
I have a question.
In my StatelessSessionBean.,I have a bean method set to transaction
attribute ,Required.
Another method set to transaction attribute,RequiredNew as below.
I am not using XA datasource .And, I dont need a two phase commit.
I get the error message at runtime in methodB-
An
Hi,
I am new to EJB.I use stateless sessionbean.
I have the below questions.Could anyone give me your suggestions / comments?
1.My ejb method calls a Data Access Object class's method. In my Data
Access Object's class method can I catch Exception? Is this ok?
2. My ejb method performs single
Hi,
I use ejb.
I see the below lines when I debug my code.
Can anyone say me what these lines represent?
Thanks in advance,
Thread [RT=0:P=1234566:O=0:WSTCPTransportConnection[addr=--,port=--,local=--
]]
Thread [P=1234566:O=0:WSTCPTransportConnection[addr=--,port=--,local=--]]
Thread
20 matches
Mail list logo