Link to home
Start Free TrialLog in
Avatar of Richards
Richards

asked on

Java J2EE EJB interview questions

Can some one give me some questions and answers which might be asked in interviews and if possible can you give me the links which has questions and answers for Java , J2EE , EJB , CORBA, C Plus Plus, C , VBA , VB , ASP
Avatar of Mayank S
Mayank S
Flag of India image

You're at a site where you can find all those yourself ;-) Just keep browsing through the old questions and their solutions.
Avatar of Richards
Richards

ASKER

Thanks ! but I am being asked to take the premiem service to see those questions and Answers
ASKER CERTIFIED SOLUTION
Avatar of Mayank S
Mayank S
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This link does not seem to be there http://groups.yahoo.com/group/JavaGroups/files/Books/ and regarding http://www.freshersworld.com/interview/techint.htm there are no answers  for it . I am looking for a link with  Questions and Answers if possible
As for the Java Yahoo group, I guess the group is there but you will not be able to access it without being a member (which is free, perhaps). Goto http://groups.yahoo.com, find the group and join it.
Please proceed with that recommendation.
The following websites also have a lot of interview questions in Java:

http://www.javacamp.org/jobinterview.html

http://www.allapplabs.com/interview_questions/java_interview_questions.htm

http://javaquestion.tripod.com/javaquestionsbank/id9.html

http://www.techinterviews.com/

For more resources, search for java interview questions in Google.

Q1. How would you resolve conflicts in a single row of data in a Database table
    If your application is distributed in nature?
   
Ans: The best way I can do is that I shall define an additional field as time stamp
     and should write server date time in it, for any insertion or updation happens
     from whatever source (may be from the same Java/J2EE application, or from a
     Microsoft Visual Basic application).
     And every updation of the row is preceded by a check for the time date with
     the one taken at the time of querying and looking for a change in it.
     If there is any change, then shall go for a re querying the same row, and then
     modifying the data (probably stored in a cache) and then firing the updation (
     modifying the time date field with the latest date time).
     Yes explicit locking for the row should be enabled, while doing the final updation.