enterprise java
-
mail
Send e-mail via GMail
With this example we are going to see how to send an e-mail via GMail in a Java program. To…
Read More » -
mail
Sending emails with JavaMail
Sending a simple text message // Common variables String host = "your_smtp_server"; String from = "from_address"; String to = "to_address";…
Read More » -
mybatis
How use @Select MyBatis annotation
In this example we shall show you how to use @Select MyBatis annotation. MyBatis is a first class persistence framework…
Read More » -
mybatis
How create MyBatis mapper
This is an example of how to create a mapper using MyBatis framework. MyBatis is a first class persistence framework…
Read More » -
mybatis
Create MyBatis SqlSession
This is an example of how to create an SqlSession using MyBatis framework. MyBatis is a first class persistence framework…
Read More » -
jms
Simple JMS example on JBoss 5.1
In this example we shall show you how to create a simple hello World example in JMS, using JBoss 5.1.…
Read More » -
jetty
Setting Contexts in Jetty
With this example we are going to demonstrate how to set the Contexts in a Jetty server. The Jetty Web…
Read More » -
jetty
Embedding Jetty with Servlet
This is an example of how to embed Jetty server with Servlet. The Jetty Web Server provides an HTTP server and…
Read More » -
jetty
Launch Jetty in embedded mode
In this example we shall show you how to launch Jetty server in embedded mode. The Jetty Web Server provides an…
Read More » -
jmx
List all JVM MBeans
With this example we are going to demonstrate how to list all JVM MBeans. An MBean is a managed Java…
Read More »