I have a Seam component that handles login, with the name "authenticator":
@Name("authenticator")
public class AuthenticatorAction implements Authenticator
{
@PersistenceContext
private EntityManager em;
@In(required=false)
@Out(required=false, scope = SESSION)
private User user;
public boolean authenticate...
I use myeclipse and jboss5.0.1 server.mysql is the database that i use.
I want to run simple ejb program on myeclipse.
...
As I am learning JSF2, I realized I am not sure what the backing components should be. From design point of view, what is the difference between EJBs and @ManagedBeans?
In the end I am going to use JPA, so EJB is a natural choice for business layer. Is it a good practice to use EJB directly from JSF (as explained here)?
At the moment I...
I am wondering conceptually how load-balancing works on the EJB-level (not web session replication) with Java EE containers like Glassfish. From what I have gleaned your remote interface is a proxy that delegates your call to one of many servers you may have in an environment.
If things fail are they supposed to be able to "finish" o...
What is better spring framework or ejb?
...
What is common and useful uses of JMS and Message Driven Beans?
...
We have a few products that communicate using various forms of web services. Some use straight XML passed through http requests (HttpClient). Others make remote EJB calls and some use EJB 3 web services on EJB session bean methods. In the HttpClient versions we have problems where the remote end takes 10+ minutes to complete a databas...
Are they different or they are used interchangeably? If they are Different, then what made them different from each other?
...
Hi all,
I have added a method to my stateless sessionBean (getFNEdetails) with one String parameter.
But I am getting this error when I try to test in weblogic10 server
java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:
java.rmi.UnmarshalException: Method not found: 'getFNEdetails(ILjava.lang.String;)
...
Hello.
I've try with EJB 3.0 and swing client and i've tried with glassfish and jboss as application server
when i did use glassfish, the comunication is via corba.
when i did use jboss, the comunication is via JNP.
in my tests the JNP was faster than corba
who has some like this?, and who could tell me which is better: JNP or Corba?...
I have a JSF application running on glassfish 2.1 with a EJB 3 backend. For authentication I use a custom realm. The user authenticates using the e-mail-address and password he specified on registration. Everything is working quite well.
Now I have two related problems:
1) The user can edit his profile and -- naturally -- he can also c...
The following code is used by IPMBaseBean.class for accessing remote interface .
Object obj = iniCtx.lookup("java:/comp/env/ejb/ODIControllerSessionEJB");
In jboss-web.xml jndi-name is refered as below
<ejb-ref-name>ejb/ODIControllerSessionEJB</ejb-ref-name>
<jndi-name>jnp://vwhq5275.whq.ual.com:6200/ODIControllerSessionEJB</jndi-na...
Hello,
I am working on a large existing EJB 1.1 application that current does its own sercurity and has no EJB managed security.
I am trying to move to a more standard solution in small steps, and so I want to start controlling the security Principle being passed to the EJB. I am not going to be able to change the current login or secu...
Hello,
I would be very appreciative if anyone who has any experience with using Enterprise JavaBeans, or who considered, but rejected the use of EJBs would respond to a short survey. The survey consists of eleven (11) questions, and should take five (5) minutes or less to complete.
I am collecting this data for a class that I am takin...
Hi I'm at big financial institute and we've an application running on Websphere 6.1. on Solaris. Due to MQ Connectivity we had to install fixpack 6.1.0.23. Unfortunately this broke an ejb (1.1) which is still there as legacy (Test missed it).
[3/23/10 11:33:18:703 CET] 00000055 EJBContainerI E WSVR0068E: Attempt to start EnterpriseBe...
Somebody knows an example of this? an application made with JSF 2.0 and EJB 3? directory structure, etc, those kind of things, I’m trying to approach the best way to create a Java EE app using those technologies.
...
I have my business bean defined thus:
@Local
@Interceptors(BusinessInterceptor.class})
public class MyBean implements SomeBean { ... }
And then I want my BusinessInterceptor to be configured with Spring's SpringBeanAutowiringInterceptor:
@Interceptors(SpringBeanAutowiringInterceptor.class)
public class BusinessInterceptor {
@Auto...
I have a Session scoped bean
@SessionScoped
public class UserData implements Serializable {
private String uid;
public String getUid() {
return uid;
}
public void setUid(final String uid) {
this.uid = uid;
}
I'm setting a value in a SessionScoped bean in my stateless session bean
public void setOperator(final Operator oper...
I trying to call some ejb bean method from tread. and getting error :
(as is glassfish v3)
Log Level
SEVERE Logger
javax.enterprise.system.std.com.sun.enterprise.v3.services.impl
Name-Value Pairs
{_ThreadName=Thread-1, _ThreadID=42}
Record Number 928 Message ID
java.lang.NullPointerException at
ua.co.rufous.server...
When I try to run my Java EE program in Netbeans consisting of servlets (java pages), JSP's, beans(java pages) and HTML pages I get this error in the output:
In-place deployment at C:\Users\Derek\Documents\NetBeansProjects\EJBProject\EJBProject-war\build\web
Initializing...
deploy?path=C:\Users\Derek\Documents\NetBeansProjects\EJBProjec...