CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions OneStopTesting.com - Testing EBooks, Tutorials, Articles, Jobs, Training Institutes etc.
OneStopGate.com - Gate EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopMBA.com - MBA EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopIAS.com - IAS EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopSAP.com - SAP EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopGRE.com - of GRE EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.

Sponsored Links

Interview Questions
Our Services



INTERVIEW QUESTIONS WEB WEBLOGIC DETAILS
Question :

Why would a client application use JTA transactions?

Category Weblogic Interview Questions
Rating (3.7) By 6 users
Added on 9/22/2014
Views 121
Rate it!


Answers:

Source: CoolInterview.com

One possible example would be a scenario in which a client needs to employ two (or more) session beans, where each session bean is deployed on a different EJB server and each bean performs operations against external resources (for example, a database) and/or is managing one or more entity beans. In this scenario, the client?s logic could required an all-or-nothing guarantee for the operations performed by the session beans; hence, the session bean usage could be bundled together with a JTA UserTransaction object. In the previous scenario, however, the client application developer should address the question of whether or not it would be better to encapsulate these operations in yet another session bean, and allow the session bean to handle the transactions via the EJB container. In general, lightweight clients are easier to maintain than heavyweight clients. Also, EJB environments are ideally suited for transaction management.

Context c = new InitialContext(); UserTransaction ut = (UserTransaction)
c.lookup("java:comp/UserTransaction");
ut.begin();
// perform multiple operations...
ut.commit() ...

Source: CoolInterview.com




If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
Name :*
Email Id :*
Answer :*
Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
Process Verification Enter the above shown code: *
Inform me about updated answers to this question

Related Questions
View Answer
What is the difference between creating a distributed application using RMI and using a EJB architecture?
View Answer
What happens if remove( ) is never invoked on a session bean?
View Answer
What are the special design care that must be taken when you work with local interfaces?
View Answer
Can you briefly describe local interfaces?
View Answer
What are the enhancements in EJB 2.0 with respect to CMP?
View Answer
What are the enhancements in EJB 2.0 specification with respect to Asynchronous communication?
View Answer
What is the function of T3 in WebLogic Server?
View Answer
What causes Java.io exceptions in the log file of WebLogic Server?
View Answer
How do I increase WebLogic Server memory?
View Answer
I plugged in a version of Apache Xalan that I downloaded from the Apache Web site, and now I get errors when I try to transform documents. What is the problem?
View Answer
Is an XSLT processor bundled in WebLogic Server?
View Answer
Do EJBs have to be homogeneously deployed across a cluster? Why?
View Answer
Must my bean-managed persistence mechanism use the WebLogic JTS driver?
View Answer
What is the Max amount of information that can be saved in a Session Object?
View Answer
Components of JNDI?
View Answer
What?s the difference between JNDI lookup(), list(), listBindings(), and search()? -
View Answer
What is the Java Authentication and Authorization Service (JAAS) 1.0?
View Answer
What technologies are included in J2EE?
View Answer
What are the two important TCP Socket classes?
View Answer
What is the difference between URL instance and URLConnection instance? -
View Answer

Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

View ALL Weblogic Interview Questions & Answers



User Options
India News Network

Latest 20 Questions
what is IASO Backup ?
What data does Piwik track?
Which HTTP request headers are used by Piwik?
What other free software projects does the Piwik team create and maintain?
Which console tools are available in Piwik by default?
How does Piwik detect unique and returning visitors?
What data does Piwik track?
How many Custom Variables can set to visitors and/or page views?
Does Piwik support IPv6 protocol?
Does the Piwik Tracking tag work on https (SSL) pages?
In the Providers report, what does ?Unknown? mean?
What is ?page url not defined? in the Pages report?
What is ?page title not defined? in the Page titles report?
Is the Piwik Javascript Tracking Code XHTML 1.0 compatible?
How long does the Piwik archiving process take for high traffic websites
What is the ?view? permission in Piwik?
What is the ?admin? permission in Piwik?
What is the ?super user? in Piwik?
What is an ?Exit Page??
What is an ?Entry page??



Fresher Jobs | Experienced Jobs | Government Jobs | Walkin Jobs | Company Profiles | Interview Questions | Placement Papers | Companies In India | Consultants In India | Colleges In India | Exams In India | Latest Results | Notifications In India | Call Centers In India | Training Institutes In India | Job Communities In India | Courses In India | Jobs by Keyskills | Jobs by Functional Areas

Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes

Gate Articles | Gate Books | Gate Colleges | Gate Downloads | Gate Faqs | Gate Jobs | Gate News | Gate Sample Papers | Gate Training Institutes

MBA Articles | MBA Books | MBA Case Studies | MBA Business Schools | MBA Current Affairs | MBA Downloads | MBA Events | MBA Notifications | MBA FAQs | MBA Jobs
MBA Job Consultants | MBA News | MBA Results | MBA Courses | MBA Sample Papers | MBA Interview Questions | MBA Training Institutes

GRE Articles | GRE Books | GRE Colleges | GRE Downloads | GRE Events | GRE FAQs | GRE News | GRE Training Institutes | GRE Sample Papers

IAS Articles | IAS Books | IAS Current Affairs | IAS Downloads | IAS Events | IAS FAQs | IAS News | IAS Notifications | IAS UPSC Jobs | IAS Previous Question Papers
IAS Results | IAS Sample Papers | IAS Interview Questions | IAS Training Institutes | IAS Toppers Interview

SAP Articles | SAP Books | SAP Certifications | SAP Companies | SAP Study Materials | SAP Events | SAP FAQs | SAP Jobs | SAP Job Consultants
SAP Links | SAP News | SAP Sample Papers | SAP Interview Questions | SAP Training Institutes |




Copyright ©2003-2016 CoolInterview.com, All Rights Reserved.
Privacy Policy | Terms and Conditions



Cache = 0.015625 Seconds