اكثر اسئلة واجوبة المقابلات طلبا والاختبارات عبر الإنترنت
منصة تعليمية للتحضير للمقابلات والاختبارات عبر الإنترنت والدروس والتدريب المباشر

طوّر مهاراتك من خلال مسارات تعلم مركزة واختبارات تجريبية ومحتوى جاهز للمقابلات.

يجمع WithoutBook أسئلة المقابلات حسب الموضوع والاختبارات العملية عبر الإنترنت والدروس وأدلة المقارنة في مساحة تعلم متجاوبة واحدة.

التحضير للمقابلة

الاختبارات التجريبية

اجعلها الصفحة الرئيسية

احفظ هذه الصفحة في المفضلة

الاشتراك عبر البريد الإلكتروني

EJB اسئلة واجوبة المقابلات

Test your skills through the online practice test: EJB Quiz Online Practice Test

فروقات ذات صلة

فروقات ذات صلة

EJB 2.0 vs EJB 3.0EJB 3.0 vs SpringEJB 1.0 vs EJB 2.0
JavaBeans vs EJB

سؤال 31. What is bean managed transaction?

If a developer doesnt want a Container to manage transactions, its possible to implement all database operations manually.

هل هذا مفيد؟ اضف تعليقا عرض التعليقات
 

سؤال 32. What are transaction attributes?

The transaction attribute specifies how the Container must manage transactions for a method when a client invokes the method via the enterprise beans home or.

هل هذا مفيد؟ اضف تعليقا عرض التعليقات
 

سؤال 33. What are transaction isolation levels in EJB?

Transaction_read_uncommitted, Transaction_read_committed, Transaction_repeatable_read.

هل هذا مفيد؟ اضف تعليقا عرض التعليقات
 

سؤال 34. can we have static initializer Block in EJB?

Purpose of Static initializer block is to initialize some static fields before any execution of constructor or method or we can say creation of object. According to EJB Spec its a violation if static field are used and they are non final .

"EJB Spec":
Enterprise bean are not allowed to read or write the non final fields.

But technically,from the point of java its correct but if in EJB we use static initializer block to initialize static field then because EJB components are used in distributed environment mean to say if single JVM then it will be ok but if run on different JVM then it will be a problem if we change or update the value in on environment then only the instance running on same JVM have new value .thats why static blocks are avoided and also all static field should be final.
And same thing we can achieve in ejbCreate(), setSessionContext() or setEntityContext() methods.

هل هذا مفيد؟ اضف تعليقا عرض التعليقات
 

سؤال 35. Is threading is possible in EJB?

No, Not possible because EJBs are created and managed by container and if in ejbs we allow threading containers life cycle methods will be interrupted by us and also the purpose of EJB is to perform business logic not to controlling a system or implementation level functioning so container will manage the thread and developer can concentrate on business logic.

هل هذا مفيد؟ اضف تعليقا عرض التعليقات
 

الاكثر فائدة حسب تقييم المستخدمين:

حقوق النشر © 2026، WithoutBook.