Technical Articles

Mar 20, 2008

Hibernate Events

Posted by Anandhan Subbiah in Java, Technical Articles 1 comment

Hibernate 3 actually implements most of its functionality as event listeners. Event listeners are always registered globally for the event that they handle. You can register them in the configuration file or programmatic ally. Either way, you will need to map your implementation of one of the interfaces to the associated types.Here is the different [...]

Share

Mar 20, 2008

Invoking a stored procedure using hibernate

Posted by Anandhan Subbiah in Java, Technical Articles No comments

Stored procedures may be a thing of the past but sometimes they can be very helpful. They reduce network traffic and can perform efficient and fast computations if required.
<sql-insert callable=”true”>
{call insertClient(?,?,?,?,?,?)}
</sql-insert>
This example may be very trivial but really complex computations can be performed using stored procedures. The drawback with hibernate and stored procedures is [...]

Share

Mar 19, 2008

Limitation of Hibernate

Posted by Anandhan Subbiah in Java, Technical Articles 1 comment

First and foremost, Hibernate wants every entity to be identifiable with a primary key. Ideally, it would like this to be a surrogate key (a single column distinct from the fields of the table). Hibernate will accept a primary key that is not a surrogate key. For example, the username column might be used to [...]

Share

Mar 18, 2008

Top Level Domains

Posted by Anandhan Subbiah in Technical Articles No comments

A top-level domain (TLD) is the last part of an Internet domain name, which is the letters which follow the final dot of any domain name.
.aero – for the air transport industry
.biz – for business use
.cat – for Catalan language/culture
.com – for commercial organizations, but unrestricted
.coop – for cooperatives
.edu – for post-secondary educational establishments
.gov – [...]

Share

Mar 18, 2008

Country Calling Codes

Posted by Anandhan Subbiah in Technical Articles No comments

Country calling codes, also known as country codes, refer to the two or three digit codes at the beginning of a telephone number that is used for telephone calls outside of a country’s (or area’s) numbering plan area codes.
Zone 1 – North American Numbering Plan Area
+1 United States of America (details)
Including U.S. territories:
+1-340 U.S. Virgin [...]

Share

Mar 18, 2008

Service-Oriented Architecture – A Business View

Posted by Anandhan Subbiah in Java, Technical Articles No comments

The primary goal of service-oriented architecture (SOA) is to align the business world with the world of information technology (IT) in a way that makes both more effective. SOA is about the business results that can be achieved from having better alignment between the business and IT.
SOA starts from the premise that all businesses have [...]

Share

Mar 18, 2008

Service-Oriented Architecture – An IT View

Posted by Anandhan Subbiah in Java, Technical Articles No comments

we described service-oriented architecture in the previous blog from a business point of view. In this section, we describe SOA from an IT point of view.
Component Model
Service-oriented architecture is a component model that interrelates an application’s different functional units, called services, through well-defined interfaces and contracts between these services. The interface is defined in a [...]

Share

Mar 18, 2008

SOA Governance

Posted by Anandhan Subbiah in Java, Technical Articles No comments

SOA is a compelling technique for developing software applications that best align with business models. However, SOA increases the level of cooperation and coordination required between business and information technology (IT), as well as among IT departments and teams. This cooperation and coordination is provided by SOA governance, which covers the tasks and processes for [...]

Share

Mar 18, 2008

Security in SOA

Posted by Anandhan Subbiah in Java, Technical Articles No comments

In raw terms, a service refers to a modular and self-contained piece of software, which has a well-defined functionality expressed in abstract terms independent of the underlying implementation that is accessible at a network point. Basically, any implementation of Service-Oriented Architecture has three fundamental roles: Service provider, Service requester, and Service registry and three fundamental [...]

Share

Mar 18, 2008

TCP and UDP Port Numbers

Posted by Anandhan Subbiah in Technical Articles No comments

TCP and UDP are both transport protocols above the IP layer, which are interfaces between IP and upper-layer processes. TCP and UDP protocol port numbers are designed to distinguish multiple applications running on a single device with one IP address from one another.
Port No

Port No.

Protocol

Service Name

Aliases

Comment

1

TCP

tcpmux

TCP Port Service Multiplexer

2

TCP/UDP

compressnet

Management Utility

3

TCP/UPD

compressnet

Compression Process

7

TCP/UDP

echo

Echo

13

TCP/UDP

daytime

Daytime

19

TCP/UDP

chargen

ttytst source

Character generator

20

TCP

ftp-data

File Transfer

21

TCP

ftp

FTP Control

22

TCP

ssh

SSH [...]

Share