Hi
I can't find this in the JBoss documentation anywhere, so am asking here.
Can multiple, non-clustered JBoss instances access and share the same TIMERS table (as used by EJB2 Timers Service) without upsetting each other, or does each one need its own table?
In the case of a cluster, is it essential that the nodes in the cluster all ...
In the project I am currently working at we have about 20 different EJB 2 JARs that are used across multiple (Swing-) clients.
Example:
customer-1.0.0.jar
^ ^
| |
client-app-1 client-app-2
These different client applications have different release cycles so they usually need differe...
I have spent the last few days attempting to integrate a Grails (version 1.3.2) application with an EJB 2.1 application that is deployed on WebSphere 6.1. Once our grails apps are in production, they will be deployed to WebSphere as well. The EJB 2.1 application is widely used across our company and, in anything except a local developm...
I'm currently creating an EJB3 Data Access Class to handle all database operations in my JavaEE6-application. Now, since JavaEE6 provides the new ApplicationScoped-Annotation, i wonder what state my EJB should have, or if it should be stateless.
Whould it be better to let the DAO be a @Stateless Session Bean, or an @ApplicationScoped B...
Hello,
I'm looking to develop a good shopping cart to my new store site. I have few ideas in my mind to start developing it...
It will be a stateful session bean (ejb3).
Object Oriented {ShoppingCart, ShoppingCartItem,ShoppingCartEvent, OrderHandler, etc.}
What I'm looking with this question, is to get, about your experience, is th...
Hello All,
Below is the exception I am getting while initializing any ejb object.
Could any one tell what is the reason of below exception and how can I resolve it???
Is is Application exception or Environment Exception???
Thanks in Advance... waiting for response ...
[7/12/10 5:05:24:226 EDT] 00000037 ExceptionUtil E CNTR0020E: EJ...
What is the simplest way to convert EJB 2.0 (WebLogic 8.1) project to EJB 3.0 (OAS or WebLogic etc)?
I found just this article "Converting an EJB 2.0 Entity Bean to EJB 3.0", which could automate this process, but forced to do too much manual manipulations.
...
I was curious about the capabilities of Sessions Beans in EJB 3 and whether they can be replaced in a typical mid-scale enterprise application with Spring.
I found this article:
http://drag0sd0g.blogspot.com/2010/01/session-bean-alternative-spring.html
that states the following: "Because of heavy use of annotations,
you can pretty much...
I have an EJB returning a list of my own ValidationMessage objects:
@Remote
public interface Intf {
List<ValidationMessage> validateFile();
}
I'm generating EJB client JAR with weblogic's appc utility. The problem is that it does not include ValidationMessage class into the client JAR. Perhaps it does not see the dependency to thi...
Hey all,
Kind of an open question that I run into once in a while -- if you have an EJB stateful or stateless bean, or possibly a direct servlet process, that may with the wrong parameters start running long on a production system, how could you effectively add in a manual 'kill switch' for an administrator/person to specifically kill th...
The offending block of code is below. The code almost always works, but sometimes it hangs forever. The application is an EJB timer bean.
Actually, it has only hung once and I can't reproduce it. It's worked without any problems in production for almost 2 years. But, while testing an updated version of the app, the timer just froze afte...
Can you point to a good quick short (not something 714 pages like the official one) introductory Java EE 6 / EJB 3.1 tutorial for one who can code general Java and SQL but has no idea of what an EJB really is?
...
Hello everybody,
I am in an urgent need to put myself up to speed with EJB 3.0, like in a couple of days or so. Please don't ask...
I have some years behind me as a programmer and worked with different technologies: RMI, JNDI, EJB 1, EJB 2, Hibernate etc so I'm not a stranger to all of this. But that was sooooooome time ago.
I need a ...
Is it possible to create an EJB with implementation in PHP, accessible through REST (not RMI)?
...
I have EAR. This EAR is all-in-one application for JBoss 5.1. I need to change activated functionality of my application depending on configuration in database - run functionality on startup or not.
I am going to put parts of functionality into several SAR files, put them into EAR. How to deploy them manually so that EJB3 Beans inside w...
Please forgive my pitiful knowledge of Java EJBs but, when an EJB is deployed to an application server as a .jar file, where do things like Hibernate and log4j first look for their configuration files (hibernate.cfg.xml and log4j.properties) in the .jar file?
...
Dear all,
can we replace Glassfish with Tomcat/OpenEJB for lighter applications?
What is the performance of OpenEJB comparing to glassfish as EJB container.
What is the restrictions of OpenEJB instead of glassfish?
Regards
...
Hi all,
Recently I've been considering using the DiscriminatorColumn approach to achieve entity inheritance. Eventually I've rejected this idea, because the positives from it would have been insignificant and they wouldn't have paid off.
One question still bothers me though. It comes up from the following situation. Let's say that we...
I'm trying to get the percentage of the progress from a EJB Asynchronous process??, is this possible?
or maybe any ideas ????
Thanks in advice
...
I have an app using Wicket for the presentation layer with CDI/Weld, JPA 2.0, EJB 3.1 etc. (JEE 6) deployed on GlassFish v3.0.1.
When I try to inject an EJB into a wicket page using @EJB I get the following error:
java.lang.IllegalStateException: Unable to retrieve EntityManagerFactory for unitName
When I try to inject using @Inject, ...