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.beyondsrl.com/articles/jee/broker_amq_1/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.beyondsrl.com/articles/jee/jee_lamda/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 retrieve 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

Spring MVC part 4

Spring_4. Hibernate one to many. In this fourth part, We will write about the Hibernate one-to-many relationship by means of our web app, that will be enriched of some new part. In detail, we will talk about the relationship among user and item. There’s a relationship one-to-many among the two entities because a user can…
Read more

Spring MVC part 3

Spring_3. Hibernate CRUD operations. Ajax calls. In this third part, our tutorial we will provide the CRUD operations applied on user table through JPQL and Hibernate. Furthermore in the single jsp page, you will see three sections, where you can do CRUD operations, using ajax call to permit user navigate among records. [button text="read the…
Read more

Spring MVC part 2

In this second part of our tutorial we will provide the integration of Hibernate into the project. First of all, we have to create the database. We chosen, as usual, MySql: it’s in general the most free and complete db over the market. We need to create a simple db to store information about some…
Read more

Spring MVC part 1

Spring_1. Spring MVC. Maven. Eclipse. In this tutorial we provide a tutorial starting from vacuum to make a new spring- maven based project. The IDE tool to mangage the project is Eclipse. Asswuming that you have created a specific directory as your workspace, for instance /Users/ivan/Documents/workspace [button text="read the full article" link="http://www.beyondsrl.com/articles/jee/Jee_spring_1/Jee_spring_1/Jee_spring_1.html" style="primary" size="normal" target="_blank"…
Read more