Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a21fa2078ec81ec6

Jump to content

Talk:Session Beans

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 15 years ago by Sae1962 in topic Merger proposal

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)Reply

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;
 
@Stateless
@Remote
public class HelloWorldBean {
    public String getHello() {
        return "Hello World !";
    }
}