Originally posted by ab parashar:
The market is really good in the UK.We had a position in our company for someone with 2-3 years experience. The quality of resume's we recieved was sheer junk.We switched the recruiting company to get even worse results.
There was one resume that I liked, but the candidate was gone in no time.We interviewed 7 candidates, over 2 months to finally get one decent recruit.
Originally posted by Raja Sagar Panamgipalli:
Hey all...,
Thank you...
Regards
Sagar
Originally posted by Miki Muzsi:
This might be a dumb questiuon but I am a bit confused at this our regarding transactions in general...
Considering the code:
...
Context initContext = new InitialContext();
DataSource ds1 = (DataSource)initContext.lookup("java:comp/env/db1");
Connection con1 = ds1.getConnection();
DataSource ds2 = (DataSource)initContext.lookup("java:comp/env/db2");
Connection con2 = ds2.getConnection();
UserTransaction tx = ejbContext.getUserTransaction();
tx.begin();
//use the connection to update database 1.
//use the connection to update database 2.
tx.commit();
con1.close();
con2.close();
...
I was wondering, when the user starts a transaction ( tx.begin() , both databases are locked? So the transaction is associated with two databases? What if one is oracle the other is sqlserver? Basically both databses must successfully commit, which I think is just no way to control that...
Miki
Originally posted by Miki Muzsi:
Prashant,
You are very right this seems to be an inconsistency in the spec. The spec says:
So since afterCompletion() does have client security context, accessing resource managers and enterprise beans should be allowed, but is not. I'm afraid you will just need to remember it for the exam :-).
See also the debate about the same issue.
Miki
Originally posted by KasiMurugan Ramasamy:
Hi Manish,
I think yours primary key class is not seems to be ok. You have to implement serializable. Because the container might be maintains the primary key objects in the secondary storage, when the corresponding EJBObjects take rest( I mean the corresponding Entity Bean instance goes to the pooled state from read state).That is my guess, iam not sure about why primary key class should implements Serializable.
Regards
Kasimurugan R.