Yearly Archives: 2014

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

A way to dispatch information to iDevices

In this article chain we provide a way to link an iPad device to a web service and retrieve some data from the db; the presentation layer developed to fit ipad devices will provide a 3D controller to show images loaded from server (aka timeline controller); the same concepts are valid for iPhone. [button text="read…
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