Stream

Join this community to post or comment
 
openejb.deploymentId.format = {appId}/{ejbJarId}/{ejbName}

Solved multiple same deployment-id conundrum.
1
Michael Rohleder's profile photoAwan Biru (Journeyman Ride)'s profile photo
2 comments
 
I found it at below link:-
http://tomee.apache.org/jndi-names.html

"As usual, other ways of specifying system properties are via the conf/system.properties file in a standalone server, or via the InitialContext properties when embedded."
Add a comment...
 
 
Writing a book is a journey. At the beginning of the journey, you mostly know where you want to go, but have only vague notion of the way to get there and the time it will take. I’ve finally released the paperback version of Integration Testing from the Trenches on Amazon and that means this specific journey is at end.

The book starts by a very generic discussion about testing and continues by defining Integration Testing in comparison to Unit Testing. The next chapter compares the respective merits of #JUnit   and #TestNG . It is followed by complete description on how to make a design testable: what works for Unit Testing works also for Integration Testing. Testing in software relies on automation, so that specific usage of the #Maven  build tool is described in regard to Integration Testing – as well as #Gradle . Dependencies on external resources make integration tests more fragile so faking those make them more robust. Those resources include: databases, the file system, #SOAP  and #REST  web services, etc. The most important dependency in any application is the container. The last chapters are dedicated to the Spring framework, including #Spring  MVC and #JavaEE  .

In this journey, I also dared ask +Josh Long  of Spring fame and +Aslak Knutsen team lead of the #Arquillian  project to write a foreword to the book – and I’ve been delighted to have them both answer positively. Thank you guys!

I’ve also talked on the subject at some JUG and European conferences: JavaDay Kiev, Joker, Agile Tour London, and JUG Lyon and will again at JavaLand, DevIt, TopConf Romania and GeeCon. I hope that by doing so, Integration Testing will be used more effectively on projects and with bigger ROI.
Should you want to go further, the book is available in multiple formats:

- A paperback version on #Amazon  for $49.99 (http://www.amazon.com/Integration-Testing-Trenches-Nicolas-Frankel/dp/2955021431/)
- Electronic versions for Mac, Kindle and plain old PDF on #Leanpub  (https://leanpub.com/integrationtest). The pricing here is more open, starting from $21.10 with a suggested price of $31.65. Note you can get it in all formats to read on all your devices.

If you’re already a reader and you like it, please feel free to recommend it. If you don’t, I welcome your feedback in the comments section. Of course, if neither – I encourage you to get a book and see for yourself!
2 comments on original post
1
Add a comment...
 
I am wondering could stateless session be clustered inside TomEE cluster.
1
1
Andy Gumbrecht's profile photo
Add a comment...
 
Hi, I am currently working on new API project which currently running in Weblogic. My first impression is TomEE is really fast!! as fast as nearly Tomcat. 

#TomEE  

#update  As 2014 Dec 31 our tomee ejb3[js-ws] currently accepting and processing 30k requests per minute. Now thinking of scaling tomee box to 80k requests per minute. 

I am looking forward of how to scale with tomee.
3
1
Andy Gumbrecht's profile photo
Add a comment...
5
1
Howard Smith's profile photoAndy Gumbrecht's profile photo
5 comments
 
That's the ticket. Tomitribe.com is a company founded by David Blevins, the creator of TomEE
Add a comment...
 
Apache TomEE 1.7.0 Released!
5
Add a comment...

David Blevins
owner

How-To  - 
 
 
Just Fork-and-code!  An +Apache TomEE and JAX-RS starter project designed for the truly impatient.  Leverages +Arquillian for real tests.
1 comment on original post
7
3
Henri Gomez's profile photoCarlos Chacin's profile photo
Add a comment...

Gerald Rubin

Discussion  - 
 
This is a 2-part discussion/question.

Background: I have a Tomcat-hosted Liferay 6.1 site. It is hosted on CentOS. The database is MySQL. I use Infinispan for user data caching in part to prepare for eventual clustering. My experience with the Java stack encompasses only the two years I've spent on this project. I work alone. I have been programming for 48 years, just not in the Java world.

Q 1: I need to create a custom rules engine that can be called from one of my beans to run the rules against the current user's data which has just been updated both in Infinispan and in MySQL. The engine also needs to be run overnight against all users' data. Is this an EJB use case? If so, would I best implement it by using TomEE with Liferay? Alternatively, I could add a nodejs server and communicate with that. I do have experience with node. Suggestions, please.

Q 2: Is there a definitive doc someplace on migrating a Liferay project from Tomcat to TomEE?

Thanks. I hope this question is posted to the correct place.
1
Add a comment...
 
I found "redictulous" word at
http://tomee.apache.org/deployment-id.html

What does it means?
1
Andy Gumbrecht's profile photoAwan Biru (Journeyman Ride)'s profile photo
4 comments
 
I myself still a learner.
Add a comment...
 
I successfully migrated new API projects(stateless, singleton and webservice) into TomEE. The datasources created in tomee.xml are referred with @DataSource annotation. Its really saved me from rewriting resource lookup code. 

Furthermore EJBs annotations works without any changes which previous I thought only works in Glassfish.

TomEE is beautiful(so far)..:-)

#Tomcat  , #TomEE   
4
1
Andy Gumbrecht's profile photo
Add a comment...
 
The new #Codenvy is here (http://blog.codenvy.com/introducing-new-codenvy/)- provision, share and scale developer environments online or offline with any IDE.  Start working with #TomEE, #JBoss or any other #Java stack in <30 seconds with a Codenvy Factory: https://codenvy.com/f?id=3un9iy22c5jum571
Today we are introducing a new Codenvy that provisions, shares, and scales developer environments.
3
4
Thomas Fiedler's profile photoKathryn Caturegli's profile photo
Add a comment...
 
 
Deploying JavaEE apps with TomEE and Docker
What will you see in this post? How to use CoreOS and Docker  to deploy  Apache TomEE  behind a  Nginx  proxy with multiple connected Docker containers. A brand new Apache TomEE version was released this week. We will commemorate this milestone (details in ...
What will you see in this post? How to use CoreOS and Docker to deploy Apache TomEE behind a Nginx proxy with multiple connected Docker containers. A brand new Apache TomEE version was released this week. We will commemorate ...
View original post
7
1
Andrii Trybynenko's profile photo
Add a comment...

Mauro Chi

Discussion  - 
 
The tomee 1.6.0.2 not work into netbeans like jee server. For example if i try to generate jsf pages from entity i get a message that is not available a jee server .
1
2
Serega CarpOFF's profile photoAwan Biru (Journeyman Ride)'s profile photoAndy Gumbrecht's profile photoMauro Chi's profile photo
2 comments
 
Have you tried Netbeans 8? For webprofile project I think TomEE is already supported by Netbeans 8.

The only missing feature is creating EJB module project targeting TomEE. The users were already requested this feature at Netbeans forum.
Add a comment...
 
 
Application Servers are amazing! This is a good starting point about application servers on Google+. Welcome!
View original post
2
Add a comment...