I have a few EJBs compiled with Weblogic's EJBC complient with Weblogic 9.2.1.
Our customer uses Weblogic 9.2.3.
During server start Weblogic gives the following message:
<BEA-010087> <The EJB deployment named: YYY.jar is being recompiled within the WebLogic Server. Please consult the server logs if there are any errors. It is also poss...
I've really taken a liking to the JBoss Seam application framework. Since the notion of injection/outjection and tight integration between JSF/EJBs/JPA is relatively scarce among Java application frameworks, I was looking for some good resources for design patterns and best practices for using this framework. I've poured over the examp...
Hi all.
I am having a problem with weld-wicket. When @Inject-ing an EJB that inherits from an abstract class, if I attempt to call a method from the abstract class I get an ejb-ref error.
However if I call a method from the concrete class it works perfectly. I can override methods and call them, and I can delegate an overridden method ...
In a project i am working on, we have an EJB backend where various clients connect remotely (i.e. Web layer, web services layer, etc). The clients are on another machine and can be in another data center, so the front end and backend are never in the same app server.
The backend is layered as follows:
SLSB <-> Service Layer Objects <-...
I have a problem when trying to update foreign keys.
Using the merge function I always get a out of memory error, or I get a timeout
Fakultaet and Standort are foreign keys in the Raum table (many to one, and lazy fetching)
Raum does eager fetching for the Fakultaet and Standort
@Stateless
@Local (IRaumHomeLocal.class)
@Remote (IRaumHo...
Hello,
This looks really simple and I can't believe I haven't found a solution myself. I have a bean named PersonBean, which has a name. Now I want to write a finder method that takes a string and looks for people with that string in their name, case-insensitively. Here is my current EJB QL:
SELECT OBJECT(p)
FROM Person p
WHERE (p.name...
Hello,
I have a session bean that provides a business method, in which it creates several CMP entity beans, something like this
public void businessMethod(int number) {
try {
MyBeanHome home = lookupMyBean();
DataSource dataSource = getMyDataSource();
Statement statement = dataSource.getConnection().createSta...
I'm writing an application using Seam 2.2.x which will be deployed on JBoss 5.1. I have an EJB module with all of the business logic en EJB's. However, I'd also like to have statless session EJBs in the web module to act as action classes. Is this possible? Do I need to perform any additional configuration to get this working? I hav...
select DISTINCT TOP 10 o.MaterialNumber from MaterialCreation_MDO o where o.MaterialGroup= ?1 and o.Noun= ?2 and o.MaterialNumber like ?3 order by o.MaterialNumber desc
this query is throwing exception on encountering 'TOP' keyword in ejb-ql statement....
...
I learned all basic java classes and how to use them. I like to learn Android App Programming. But one of my colleague suggested me to learn EJB. What is the best to learn?
...
Hi. Let's say I want to use an EJB container and I don't know how the container implementation is using classloaders.
Now, I want to have in-memory shared state with my custom datastructures (so no HSQLDB etc.). in this app., and the EJB spec happens to be < EJB 3.1 and I can't use the EJB singleton service.
If I'd use DI frameworks...
Hi,
I want to use SEAM Framework with Hibernate but do not want to use EJB. I cannot use EJB.
First question is, can I use EntityManager? or is EntityManager a part of EJB?
How can I get access to use Hibernate in my SEAM component?
Thanks, Philip
...
I use JBoss 5. I would like to destroy sessions manually. Are there any way to query container for sessions of particular type, for particular authenticated user. Or at least, query for all managed sessions?
...
Hi!
I'm working on a project which includes persistence library (JPA 1.2), EJB 3 and Web presentation layer (JSF). I develop application using Eclipse and application is published on Websphere Application Server Community Edition (Geronimo 2.1.4) through eclipse plugin (but the same thing happens if I publish manually). When publishing ...
I'm looking for a good UML tool (free or at least available as a Trial, availability as an Eclipse- or Netbeans-plugin would also be nice) to visualize the class hierarchy (doesn't have to be strict UML) inside an JavaEE-application.
It should have a decent EJB/annotation support (most important feature). I googled around and found this...
Hi,
I'm new to EJB 3 and pretty confused with some doubts which Google didn't provide with a satisfactory answer.
I'm trying to create a framework with some base classes and some utility methods which my other applications can use. All applications are to be deployed on the same server.
When I'm trying to create a new EJB 3.0 project ...
Hello All,
I'm struggling futher in my adventure with Jboss and EJB 3.0.
I joined Spring 3.0 with EJB. I have 3 modules - web module with Spring controllers, ejb module with my EJB beans and spring mogule with other classes like dao or some helpers. All in the ear.
So, in my Spring Controller I have the following code:
@Controller
publ...
Hi All,
I am using EJB3 as the client socket and the server socket is a normal java class. My Application server is Sun GlassfishV2. I would like to communicate from the EJBBean(Client) to the server using Jboss Remoting. If I use transport protocol "sslsocket" in the InvokerLocator class means its working fine. But If I use the transpo...
Hey fellows,
I've been getting a load of rollbackexception when calling some SELECT JPQL or namedqueries from a Singleton.
The Singleton as one method with the @Schedule annotation calling the some others db query which run fine.
But once that shceduled method calls on some other methods which at their turn call db queries then everythi...
[UPDATE: After discussion on the Glassfish forums/ML at http://forums.java.net/jive/thread.jspa?messageID=480532 a bug was filed against Glassfish https://glassfish.dev.java.net/issues/show_bug.cgi?id=13040 for this issue.]
I'm trying to inject a local no-interface view of a @Stateless EJB into a JSF2 @Named @javax.enterprise.context.Se...