Quantcast
Channel: Tech Annotation
Browsing all 131 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Clustering Apache Tomcat Failover

Probably you’ve already heard about this topic and it’s very simple to apply. Whatever you’ve already known or not, I’d like to set a little list about how configure a couple of tomcat application...

View Article



Image may be NSFW.
Clik here to view.

Rmi vs Web Service

There are so many technologies for connecting remote systems that is not trivial take a choice about which one using. In this post I’d like to put the focus on Spring Rmi and Spring Jax-WS. I wanted to...

View Article

Image may be NSFW.
Clik here to view.

Hadoop in practice

Speaking about cloud computing, I would like to introduce hadoop in very easy, practical, way. After read a lot about this argument, I wanted to experiment, through example from source code and from my...

View Article

Image may be NSFW.
Clik here to view.

Spring Jta with Jboss

Have you ever tried to have to link, in unique transaction, two or more datasources from different databases? Java Transaction API (JTA) helps you to achieve this result. In this article I’ll try to...

View Article

Image may be NSFW.
Clik here to view.

Unit test with Mockito

Have you ever tried to build  a Unit Test about servlet, web services or REST services? Whatever is your answer I would like to illustrate how build it with Mockito framework with, as usual, a very...

View Article


Image may be NSFW.
Clik here to view.

10.000 visits

10.000 times thanks to everybody who visited  this website. Thanks to everyone who came here … …. by typing the wrong url address …. has found what they are looked for …. posted a comment or shared...

View Article

Image may be NSFW.
Clik here to view.

5 minutes with – Spring Authentication and Authorization Service (JAAS)

In the large numbers of choices of how build an authentication and authorization service, Java community has defined a stardard of it called Jaas. In this article I’d like to show you the integration...

View Article

Image may be NSFW.
Clik here to view.

5 minutes with – Jersey Producers

Have you ever tried to have to produce a multiple rappresentation of the same resources? I’m speaking about produce a common json and xml and, also, custom rappresentation like text/html which is not...

View Article


Image may be NSFW.
Clik here to view.

5 minutes with – JGroup

In a cluster environment could happen that you need to replicate the cached information over all the nodes that are included in cluster. For this purpose it’s very useful to use some replication system...

View Article


Image may be NSFW.
Clik here to view.

5 minutes with – EjbTimer

Have you ever had to scheduled some activities on web application? In this articles I’d like to show you how get this aim using JavaEE technology with a little example. I will  describe the use of...

View Article

Image may be NSFW.
Clik here to view.

Liferay Jpa Portlet

A typical issue in liferay is a portlet which is able to show data at one portal site. In this article I’d like to illustrate an easy portlet that manage an hardware warehouse. I used Spring framework...

View Article

Image may be NSFW.
Clik here to view.

Liferay Jpa Portlet – Part 2

In the previous article of this serie we’ve taken a look at the service layer of Warehouse portlet using EclipseLink Jpa implementation. Now it’s time to go on and see the Spring Jpa controller and the...

View Article

Image may be NSFW.
Clik here to view.

Portlet Cache – Expired cache and EhCache

A little guide to illustrate how to use two common content Cache system. The first comes from the portlet system while the last, ehcache, is used in many different system. We’ll see the used of them in...

View Article


Image may be NSFW.
Clik here to view.

Saas, Iaas and Paas – clear up the ideas

Software as a service (Saas), Infrastructure as a service (Iaas) and Platform as a service (Paas) are used very often in different context for describing different technology service in modern...

View Article

Image may be NSFW.
Clik here to view.

Recommendation using Easyrec

Users who have seen item A also have seen item B. Are the items in relation each other? A recommendation system has the aim to build different items to get relations available for the others users. In...

View Article


Image may be NSFW.
Clik here to view.

5 minutes with – Cross-Origin Resource Sharing (CORS)

For improving the user experience on the web 2.0, Javascript is largely used in the web page. They are put in pages and in specific libraries so, they are called in the same domain and, even, cross...

View Article

Image may be NSFW.
Clik here to view.

5 minutes (or little bit more..) with Activiti

A good solution for leaving the tree of  “if-then-else” nightmare is, or might be, using one of the Business Process Model (Bpm) available in open source license. In this article I’d like to explore,...

View Article


Image may be NSFW.
Clik here to view.

Mahout and Hadoop: a simple integration

A recommendation system is very common to see in every web site today. Mahout could achieve this aim to produce recommendations on a web site. In this article I’d like to illustrate how to get it using...

View Article

Image may be NSFW.
Clik here to view.

5 minutes with – Spring OAuth 2.0

What can you use when you’ve to let the access of protected resources by a third part application? The Open Authentication standard (briefly OAuth) is useful in order to authenticate and authorize user...

View Article

Image may be NSFW.
Clik here to view.

Cas and Spring Security

Spring Security supports a lot of different authentication systems. One of that is the central authentication service (CAS) which allows the users to authenticate in a Web Application (or different Web...

View Article
Browsing all 131 articles
Browse latest View live




Latest Images