J2EE Developer Interview Questions & Answers
J2EE developers are responsible for the development of web and software applications that are specific to Java 2 Platform Enterprise Edition (J2EE or JavaEE). They create cutting-edge enterprise-level (ETL) internet applications for businesses. Java is one of the most popular programming languages, and J2EE developers have advanced coding skills that utilize it.
Whether you're a job seeker preparing to be interviewed for the role of J2EE Developer or
an employer preparing to interview candidates for J2EE Developer position,
these J2EE Developer interview questions will help you prepare yourself for the job interview session.
J2EE Developer Interview Questions
Below are a list of some skill-based J2EE Developer interview questions.
- How many years of experience do you have with coding in general?
- How many years of experience do you have with J2EE?
- Do you have experience developing J2EE applications?
- What background experience do you feel is most relevant to the job?
- What were your primary duties in your previous position?
- Do you hold any relevant certifications?
- How do you inform yourself about industry developments?
- Do you have any experience with leading IT projects?
- What has been the most significant challenge you have experienced using Enterprise Java?
- What is J2EE?
- What is an Enterprise Bean and what are its types?
- What is a session bean and what are its three types?
- What are the steps for stateless EJB creation?
- What is a java message service and what are its advantages?
- What is a session facade and is it important for software development?
- How would you describe persistence API? What are the key elements?
- Name and describe the ACID properties of transactions.
- What are the declarative transaction types and what do they mean?
- Which web servers can or cannot run EJB?
- What components comprise J2EE applications?
- What are common J2EE clients?
- What is a J2EE container?
- Define Hibernate, and give some examples of its limitations and advantages.
- What is ORM, and how does it work in J2EE?
- What does connection pooling mean?
- What is a servlet?
- What are some advantages of ORM?
- What are the current versions of Enterprise JavaBeans that have been released so far?
- From your own personal experience knowledge, which do you believe is more useful, stateless or stateful bean?
- Which do you believe offers more benefits, Bean Managed Persistence or Container Managed Persistence?
- Describe the differences between define context, initial context and session context.
- Can you make EJB capable of handling multiple transactions? Why or why not?
- Illustrate the callback methods for session beans and entity beans.
- What is the difference between conversational and non-conversational interaction?
- Describe the differences between un-repeatable and phantom.
- What does the term "hot deployment" mean, and in what context do you use it?
- Describe the design goals of J2EE architecture.
- What are the roles of a J2EE developer?
- What is a hashtable, and how is it used in J2EE?
- Can you name the different kinds of JSP tags?
- Can you define URN?
- Can you define EJB?
- What is an EJB container and what are the types?
- Describe the differences between a web server and an application server.
- What is a module in J2EE, and what are the four specific modules used?
- What is the difference between .ear, .jar and .war files?
- What is a singleton session bean and how is it different from a stateless and stateful session bean?
- What is the difference between a message-driven bean and an entity bean?
- What is the point-to-point model?
- What is the publisher and subscriber model and how does it differ from the PTP model?
- Name some attributes associated with javax-ejb-stateful and javax-ejb.EJB.
- Describe the three primary levels for interceptor method application.
- What are some of the java types you can map by using @lob annotation?
- When was EJB originally developed and by whom? Who took it over?
- What are the technologies that you use in J2EE?
- Can you map more than a single table in CMP?
- Can entity beans create parenthetical methods?
- Describe the callback annotations for stateless, stateful, entity and message-driven beans.
- In EJB, what is a timer service?
- Which annotation do you use to inject EJB or datasource into another EJB?
- What do JNDI and EJBQL mean? How do they relate to EJB?
- In EJB, what is the difference between application-level exception and system-level exception?
- What does the term "re-entrant" mean? Can session or entity beans be re-entrant?
- Define "in-memory replication." Why is it important?
- What is the ripple effect?
- Describe what abstract schema is.
- In EJB, what is the difference between "find a method" and "select method"?
- What are clones and what are they linked by?
- Define EJB architecture.
- What are the most basic requirements for a CMP entity-focused class in EJB 2.0 compared to EJB 1.1?
- What does EJB QL mean?
- How can you access Enterprise JavaBeans through active server pages?
- What are active server pages? Why are they important in EJB?
- What is an EJBDoclet?
- What is a static initializer block? Is it legal in Enterprise JavaBeans?
J2EE Developer Interview Questions and Answers
Every interview is different and the questions may vary.
However, there are lots of general questions that get asked at every interview.
Below are some common questions you'd expect during J2EE Developer interviews. Click on each question to see how to answer them.
- What is Your Salary Expectation?
- Tell Me About Yourself
- Are You a Leader or a Follower?
- Why Do You Want To Leave Your Current Job?
- What Is Your Greatest Accomplishment?
- What is Your Greatest Strength?
- What is Your Greatest Weakness?
- Why Should We Hire You?
- Do You Have Any Questions for Us?
- Why Do You Want This Job?