TechFundu

  • Increase font size
  • Default font size
  • Decrease font size
Welcome Guest,  Login | Join Now
Home Read Articles Java Technologies


EJB 2.0 Interview Questions

1. Is it possible to write two EJB’s that share the same Remote and Home interfaces, and have different bean classes? if so, what are the advantages/disadvantages? – It’s certainly possible. In fact, there’s an example that ships with the Inprise Application Server of an Account interface with separate implementations for CheckingAccount and SavingsAccount, one of which was CMP and one of which was BMP.

2. Is it possible to specify multiple JNDI names when deploying an EJB? – No...

Last Updated on Friday, 14 August 2009 03:01
 

What is the difference between Dynamic and Static Binding in Java?

(5 votes, average 3.20 out of 5)
Dynamic Binding or Late Binding

Dynamic Binding refers to the case where compiler is not able to resolve the call and the binding is done at runtime only. Let's try to understand this. Suppose we have a class named 'SuperClass' and another class named 'SubClass' extends it. Now a 'SuperClass' reference can be assigned to an object of the type 'SubClass' as well. If we have a method (say 'someMethod()') in the 'SuperClass' which we override in the 'SubClass' then a call of that...

Last Updated on Monday, 21 December 2009 19:07
 

Java 5 new features

(1 vote, average 5.00 out of 5)
Java 2 Platform Standard Edition 5.0 or Java 5 was a major feature release from sun. One of the main theme of Java 5 release was Ease of Development.Many new programming language features has been added in Java 5 which makes java programmers life easy.  Some of these changes include  metadata or annotation, generic types, autoboxing, enhanced for loop, enumerated types, static import, C style formatted input/output, and variable arguments. Let's go through these new features one by...

Last Updated on Sunday, 09 August 2009 15:36
 

EJB 3.1

(3 votes, average 5.00 out of 5)
Introduction

Enterprise Java Beans (EJB) is a server-side component architecture for the Java Enterprise Edition (Java EE) platform, aiming to enable rapid and simplified development for distributed, transactional, secure and portable applications.

EJB experienced wide adoption in its version 2, reaching a level of maturity which made it capable to embrace the requirements of many enterprise applications. Despite its relative success, there were many critical voices accusing it of being...

Last Updated on Monday, 30 November 2009 15:14
 


Page 5 of 5

Follow us on Twitter