Skip to main content

Monitoring an Apache TomEE Service on Windows with VisualVM

By Apache TomEE No Comments
It's always good to 'see' how your Apache TomEE server is performing in a real world environment. A really great visual tool for this job, that actually ships with the latest Java Development Kit (JDK), is the Java VisualVM application. I will assume you already have a recent Oracle JDK and Apache TomEE installed as a Windows Service. Although this post will focus on the Windows Service platform, most of the information is relevant for other Java platforms. You'll find this tool in the C:/Program Files/Java//bin directory as 'jvisualvm.exe' - Just run it and have a play with the application…
Read More

Apache TomEE JAX-RS and Arquillian Starter Project

By Apache TomEE, Arquillian, Jakarta EE 2 Comments
Know JAX-RS, but haven't yet dug into Apache TomEE? Way too busy or impatient to read documentation? This repo is for you. https://github.com/tomitribe/tomee-jaxrs-starter-project The only thing better than a Maven archetype is a repo you can fork with everything already setup. Fork this repository on Github and you're good to go! The contents are incredibly small: ./LICENSE ./pom.xml ./README.md ./src/main/java/org/superbiz/Color.java ./src/main/java/org/superbiz/ColorService.java ./src/test/java/org/superbiz/ColorServiceTest.java ./src/test/resources/arquillian.xml The only mandatory actions are the following steps: $ git clone [email protected]:tomitribe/tomee-jaxrs-starter-project.git $ cd tomee-jaxrs-starter-project/ $ mvn clean install tomee:run That's it! With those simple steps above, you get the following: Easy to extend starter project setup…
Read More

Empezar a Usar Apache TomEE

By Apache TomEE No Comments
Obtén una introducción a Apache TomEE y aprende como usar el soporte de Eclipse a Tomcat para desarrollar rápidamente aplicaciones Java EE. Empezarás a codificar en menos de 10 minutos. Editor's Note (Tim O'Brien): Tomitribe is excited to announce that we've asked Alex Soto to start contributing content en Español. ¿No habla Español? I'd recommend that you start learning now because you are going to miss some great TomEE content. Try Duolingo.
Read More

Get Started with the TomEE Maven Archetype

By Apache TomEE 2 Comments
I know you've been thinking about TomEE for some time. It's on your list of "things to check out", but maybe you haven't had the time to set aside a half day to dive into the details of running TomEE? Maybe you think it's going to take too long to get started? It won't, give me two minutes. Here's a video that demonstrates the process of getting started with TomEE in just that time. If you want to get started with TomEE and you have two minutes to spare, watch this: All you need to do to start using TomEE…
Read More

In Development: Improved Support in NetBeans for TomEE

By Apache TomEE No Comments
If you use NetBeans or you've attended a conference or read Oracle's NetBeans blogs, you know who Geertjan Wielenga is.  Geertjan has lived and breathed NetBeans for years, and I see him everywhere I go.  I fly to Belgium for Devoxx? Geertjan.  I show up in JavaOne? Geertjan.  He's everywhere. For years it's been like this, if there is a conference that has anything to do with Java, he's there spreading the good word of NetBeans.  Geertjan's done a great job of building a very loyal audience of Java developers who are passionate about NetBeans because he's focused on integration,…
Read More

Creating a MongoDB Security Realm for Tomcat

By Apache TomEE No Comments
At Tomitribe, much of our client work focuses on integration. For example, a customer might come to us and with an existing LDAP server that they want to use as a security realm or, in this case, a requirement to connect to a MongoDB database that contains users, credentials, and role definitions. The great thing about Tomcat and TomEE is that it's very easy to write custom components that can use any external resource to do just about anything. While there are likely several valid ways to use a MongoDB database as an authentication provider for Tomcat, in this blog…
Read More