Tag Archives: Java

Spring AOP (Aspect Oriented Programming)

• Aspect-Oriented Programming (AOP) complements Object-Oriented Programming (OOP) by providing another way of thinking about program structure. In addition to classes, AOP gives you aspects. Aspects enable modularization of concerns such as transaction management that cut across multiple types and objects. (Such concerns are often termed crosscutting concerns.) • One of the key components of […]

read more

Spring Security Authorisation and ACL

I have been reading spring security over the past few days and have come across a few link which will be helpful to you guys. You will find some documentation which i will come up with on my blog soon. I the mean while go through Click to access springsecurity.pdf http://grzegorzborkowski.blogspot.com/2008/10/spring-security-acl-very-basic-tutorial.html

read more

Installing Continuum

  Apache Continuum is an enterprise-ready continuous integration server with features such as automated builds, release management, role-based security, and integration with popular build tools and source control management systems. Whether you have a centralized build team or want to put control of releases in the hands of developers, Continuum can help you improve quality […]

read more

Using Test NG for Test Harness

TestNG is a testing framework designed to simplify a broad range of testing needs, from unit testing (testing a class in isolation of the others) to integration testing (testing entire systems made of several classes, several packages and even several external frameworks, such as application servers). Writing a test is typically a three-step process: Write […]

read more

Web Service’s Test Harness

Designing A Functional, Load, and Performance Testing Framework for Web Services The lifecycle of any application typically involves four phases—requirements, design, development, and testing. Testing is the phase that guarantees value delivery to the customer. Testing, being an important process in the SDLC, is an area where better and efficient testing strategies meeting different requirements […]

read more

Writing Schemas and Web services Contracts (part 1)

read more

Escape Characters in Java

Java provides escape sequences for several non-graphical characters. All characters can be specified as a hexidecimal Unicode character (uxxxx) with some as an octal character (ddd where the first d is limited to 0-3, and the others 0-7 – same as u0000-u00ff). n New line t Tab b Backspace r Carriage return f Formfeed \ […]

read more

Writing to Excel using java code

import java.io.FileOutputStream; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFRow; import org.apache.poi.hssf.usermodel.HSSFSheet; import org.apache.poi.hssf.usermodel.HSSFWorkbook; /** * This is a sample to create an Excel Sheet using Jakarta POI API * * @author Nitin Aggarwal * @version 1.0 */ public class CreateXL { /** A place for the output Excel file to go */ public static String outputFile = “C:/Work/JPOI/excel_in_java.xls”; […]

read more

Reading contents of Excel using java code

There are two good choices for reading & writing Microsoft Excel Spreadsheet files from Java, in a platform independent way, – jexcelapi and Jakarta POI (HSSF). Both of them provide nice interface to access Excel data structure and even generate new spreadsheet. Comparison of JExcelAPI with Jakarta-POI (HSSF) 1. JExcelAPI is clearly not suitable for […]

read more

Maven Archtypes List

Each archetype page should enforce the following pattern : * Archetype name* Command line to call the archetype* If the archetype can be used in an existing projects directory* A tree view of the resulting files* Some additional information like the additional properties used by the plugin To use an archetype: mvn archetype:generate Generate gives […]

read more