Talk:Session Beans

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Java (Rated Stub-class, Low-importance)
WikiProject icon This redirect is within the scope of WikiProject Java, a collaborative effort to improve the coverage of Java on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Stub-Class article Stub  This redirect does not require a rating on the project's quality scale.
 Low  This redirect has been rated as Low-importance on the project's importance scale.

Merger proposal[edit]

This page contains a subset of the article on Enterprise JavaBeans, specifically the section about session beans. Since session beans are overwhelmingly the very thing that defines what EJB is, it makes very little sense to remove the section about session beans in the EJB article. This article then should only have a reason to exist if it contains a more elaborate and detailed explanation about session beans. For years this article has failed to do this. Instead of a more detailed version, it's a severe watered down version that's most often out of date and even contradicts the explanation in the EJB article. I just slightly aligned this article with the EJB one, but realized that to truly align it a copy paste would be required, which I think is undesirable. Arjant (talk)

merge I think the merger proposal is OK. Sae1962 (talk) 09:50, 2 March 2011 (UTC)

Code combination[edit]

I believe that the first and second code snippets for JEE 5 example can be combined into this single snippet:

import javax.ejb.Remote;
import javax.ejb.Stateless;
public class HelloWorldBean {
    public String getHello() {
        return "Hello World !";