Home » Author Archives: Enrico Crisostomo

Author Archives: Enrico Crisostomo

Installing Drupal on FreeBSD

devops-logo

Drupal ports have been available on FreeBSD since quite a long time, and binary packages can be installed very quickly. However, manual setup is required to connect Drupal to the database and have Apache serve the Drupal website. In this post I’ll describe the setup procedure of Drupal 7 on FreeBSD 10.0. The process will not be very different if ...

Read More »

Installing Logstash v 1.4 (and Greater) on FreeBSD

devops-logo

In a previous post I described how to install Logstash (v. 1.3 and previous) on FreeBSD and in this post I will describe how to install Logstash v. 1.4 and greater. Until version 1.3 included, Logstash was distributed as a single JAR file, and when version 1.4 was released a new packaging style was introduced. As a consequence, new instructions ...

Read More »

Google Authenticator: Using It With Your Own Java Authentication Server

google-authenticator-logo

The Google Authenticator application for mobile devices is a very handy application that implements the TOTP algorithm (specified in RFC 6238). Using Google Authenticator you can generate time passwords that can be used to authorize users in an authentication server that shares the secret key of the requesting users. Google Authenticator is mainly used to access Google services using two-factor ...

Read More »

Using a ThreadPoolExecutor to Parallelize Independent Single-Threaded Tasks

java-logo

The task execution framework, introduced in Java SE 5.0, is a giant leap forward to simplify the design and the development of multi threaded applications. The framework provides facilities to manage the concept of task, to manage thread life cycles and their execution policy. In this blog post we’ll describe the power, the flexibility and the simplicity of this framework ...

Read More »

EJB 3.1 Global JNDI Access

java-interview-questions-answers

As outlined in the previous parts of this series, the major drawback of the EJB v. 3.0 Specification was the lack of portable global JNDI names. This implies that there’s no portable way to link EJB references to a bean outside your application. The EJB v. 3.1 Specification fills this gap defining, in its own words: “a standardized global JNDI ...

Read More »

EJB Programmatic Lookup

java-interview-questions-answers

In our previous post we learnt about EJB references and EJB injection. Even though EJB injection is a powerful container facility that eases modular application development, sometimes performing a programmatic EJB lookup is instead desirable. Let’s suppose, for example, that a set of distinct EJBs implement a common strategy, defined by a common business interface. Depending on the result of ...

Read More »

Basic EJB References, Injection and Lookup

java-interview-questions-answers

In the first part of this series we’ve introduced the mechanisms provided by the Enterprise JavaBeans v. 3.0 Specification to define EJB components, declare a reference to an EJB and wiring them up both by dependency injection or programmatic JNDI lookup. In this blog post we’ll examine some basic examples to understand how to use the EJB API. A Basic ...

Read More »

An Introduction to EJB 3.0 Injection and Lookup

java-interview-questions-answers

Introduction The Enterprise JavaBeans Specification v. 3.0 introduces a simplified, annotation based API for EJB injection and lookup. EJB 3.0 are now POJOs and can be injected in other components (such as EJBs and Servlets) using simple annotations. EJB 3.0 is one of many other POJO-based specifications that made it to Java EE 6, such as JSR-229 “Contexts and Dependency ...

Read More »

Atlassian JIRA v.4.4 Released

atlassian-jira-logo

Few days ago Atlassian released a brand new version of its flagship issue and project tracking software: JIRA v. 4.4. Even though it’s a “minor” upgrade it introduces a bunch of great new features, both for users, project administrators and JIRA administrators. Installation Installing and upgrading JIRA standalone has always been easy but the new installer and configuration wizard really ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close