|
My team is developing a new service oriented product with a web front-end. In discussions about what technologies we will use we have settled on running a JBoss application server, and Flex frontend (with possible desktop deployment using Adobe AIR), ...
Started by Justin Standard on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
What are the arguments for or against EJB3 vs Spring? Spring is always innovating treating this as persistence....
We find that it's more streamlined, nicer to code/business layer .
I would definately recommend EJB3 over spring.
|
|
Hello everyone !
For almost a year know, i developped applications in EJB3/JPA for persistence and business and Seam/JSF for presentation.
I had an idea for a desktop app, but i don't know what to use.
Using an embedded jboss would be the easy thing, ...
Started by Eligriv on
, 10 posts
by 10 people.
Answer Snippets (Read the full thread at stackoverflow):
Or WebLogic, the only thing that comes to my mind is to use Spring/Hibernate without EJB and have an interesting article in DevX about Jetty and Spring
With you java knowledge, you have three choices and have all of the client machines....
|
|
I have an upcoming project in a class that will allow me to work with either EJBs or Spring, and I was wondering what would be more applicable for "real world" situations.
Started by Thomas Owens on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
EJB3 consistent and low ....
Despite the similarity, EJB3 and Spring are not solving the same problems.
EJB3, which bears an uncanny resemblence to the Spring approach - not that the likes of Sun or JBoss will admit it.
|
Ask your Facebook Friends
|
I am facing the decision to abandon Java EE 5 (JEE) container to use web container instead (with Spring). According to Interface21 Spring Pitchfork allows elements of the JEE programming model to be used in Spring. Thus, I get a subset of JEE annotations...
Started by grigory on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Eat the shell and the egg - go all the way... .
You can try Spring dm Server with OSGi.
POJOs if you need EJBs but don't want to buy a Java EE app server .
Foregoing EJBs hasn't been a problem.
No experience with Pitchfork, but lots with Spring.
|
|
I am having a EJB 3.0 Session Bean which implements the Local interface, and I have a pure POJO also.
How can I inject a Session Bean into the POJO rather than manual JNDI look up in to POJO through spring(using @Resource and SpringBeanAutowiringInterceptor...
Started by DomMario on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Quoting Spring EJB and JPA (read it all, it has many examples):
Don't classes: Spring's @Required ....
To inject an EJB3 into a POJO (which is possible since Spring 2.5 ), I think that you should use @EJB instead of @Resource .
|
|
I'm running an application with the following components:
Oracle 9i WAS 6.1.0.23 with WS and EJB3 features pack JPA with Hibernate 3.3.2.GA as provider (with Hibernate-EntityManager 3.4.0) Spring transaction manager for WAS : UowTransactionManager (spring...
Started by Gaetan on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The default (simple) configuration is really optimised for lower grade transactional systems (tomcat/SE) and not the more... .
I think (and hope) that your problems stems from the fact that by using the dataSource property it defaults to a "nonJtaDataSource" .
|
|
Hi,
first of all: that might be a newbie question. However after few searches I cannot find anything that would bring me further.
Basically what would be the reasons to choose an app server over a Spring framework to develop a medium complex web application...
Started by nullpointer on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Spring....
Your terminology is way off though.
%
Spring is awesome.
When would I write an application using Spring? When should I choose EJB3?"
My preference on the question that takes Spring 3.0 and EJB3 into account.
|
|
I am trying to test an entity EJB3 with Spring.
The EJB itself does not uses Spring and I would like to keep duplications of the production JPA configuration minimal (ie not duplicating persistence.xml for exemple).
My unit tests seems to work but even...
Started by Michel on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Here is my spring/spring-beans-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd http://www.springframework....
It magically so (I also ended using HSQLDB but that is unrelated to the issue) .
|
|
Hi,
till now i still worked with JSF and JPA without DAOs. Now i'd like to use DAOs. But how can i initialize the EntityManager in the DAO-Classes?
public class AdresseHome { @PersistenceContext private EntityManager entityManager; public void persist...
Started by ich-bin-drin on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Make your DAO an EJB3 if you are in a JEE 5 environment:
@Stateless public class CustomerMgrBean.
|
|
When I try to deploy a spring application in Jboss, I get this error:
11:32:34,045 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=#ehr-punit state=Create java.lang.RuntimeException: Specification violation [...
Started by Rafael on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
From the second line:
java.lang.RuntimeException: Specification violation [EJB3 JPA 6.2.1.2] - You be cast to javax.xml.parsers.DocumentBuilderFactory
This means that Spring is trying to inject.
|