Category Archives: JEE

JEE

A simple introduction to ActiveMQ using spring framework

This artcile wants introduce you to ActiveMQ. To do that I propose a simple tutorial where I call the broker making dinamically two queues and using those. [button text="read the full article" link="http://www.aheadsrl.com/articles/jee/broker_amq_1/broker_amq_1.html" style="primary" size="normal" target="_blank" display="inline" icon="no"]  
Read more

Lambda expressions – java 8

Lambda expressions are part of Java Platform Standard Edition 8 (Java SE 8). They provide a clean way to represent one method interface using an expression. Lambda expressions also brings improvements to the Collection libraries making it easier to iterate through, filter, and extract data from a Collection. [button text="read the full article" link="http://www.aheadsrl.com/articles/jee/jee_lamda/jee_lamda.html" style="primary"…
Read more

JEE: Override an env-entry

Suppose you have an env-entry in your deploymet descriptor (aka web.xml) that binds some value of some type. Suppose, for example, that your entry is something like anEnvEntryInteger 10 java.lang.Integer so you have anEnvEntryInteger, as Integer, with value of 10. Now you would certainly retireve that value to use it in your code. The following…
Read more

Calling a SOAP web service

In this article we will call a web service provided from http://www.webservicex.net. In detail we will call the currency convertor WS, calling it by means of Soap-UI; after using wsimport we will generate the client classes, hence making a simple main we will call the service and integrate it in our simple project. Why that…
Read more