Skip to main content

Posts

Jasypt(Java Simplified Encryption) with hibernate 3

Jasypt is a java library which allows the developer to add basic encryption capabilities to his/her projects with minimum effort, and without the need of having deep knowledge on how cryptography works. Features : Jasypt follows the RSA standards for password-based cryptography, and provides you with both unidirectional and bidirectional encryption techniques. Open API for use with any JCE provider , and not only the default Java VM one. Jasypt can be easily used with well-known providers like Bouncy Castle . Learn more . Higher security for your users' passwords . Learn more . Binary encryption support . Jasypt allows the digest and encryption of binaries (byte arrays). Encrypt your objects or files when needed (for being sent over the net, for example). Number encryption support . Besides texts and binaries, it allows the digest and encryption of numeric values (BigInteger and BigDecimal, other numeric types are supported when encrypting for Hibernate persistence). Learn more . ...

Create batch files

In DOS , OS/2 , and Microsoft Windows , a batch file is a text file containing a series of commands intended to be executed by the command interpreter . When a batch file is run, the shell program (usually COMMAND.COM or cmd.exe ) reads the file and executes its commands, normally line-by-line. Batch files are useful for running a sequence of executables automatically and are often used by system administrators to automate tedious processes. DOS batch files have the filename extension .bat . Batch files for other environments may have different extensions, e.g. .cmd or .bat in the Microsoft Windows NT -family of operating systems and OS/2, or .btm in 4DOS and related shells. The now-obsolete Windows 9x family of operating systems only recognize the .bat extension. How to create a .bat file: step1: Open the notepad either directly from run(type: notepad) or from program files>Accessories>Notepad step2: Type the required commands in that file e.g cd\ shutdown -s ex...

Java/j2ee design Pattern

Design Patterns play's a important role in development of any huge application.The basic definition of design pattern is "it stands to solve a particular problem in a well defined manner". In java the concept of design pattern is broadly divided into three types: • creational Creational patterns deal with the creation of objects and help to make a system independent of how objects are created, composed and represented. They also enable flexibility in what gets created, who creates it, how it gets created and when it gets created. • structural Structural patterns deal with how objects are arranged to form larger structures • behavioural Behavioural patterns deal with how objects interact, the ownership of responsibility and factoring code in variant and non-variant components. Pros/cons of using Design Patterns. Pros. • quality, flexibility and re-use Design Patterns capture solutions to common computing problems and represent the time, effort and experience gained from ap...

Springs

Spring is an open source framework.It was created to address the complexity of enterprise application development.Spring makes it possible to use plain-vanilla Java beans to archive things that were previously only possible with EJB's. Spring is a lightweight dependency injection and aspect oriented container and framework. Feature Of Spring: 1 Lightweight 2 Dependency Injection 3 Aspect Oriented 4 Container 5 Framework Important Links to know more about Springs. Encyclopedia Spring Home download springs modules Any suggestion Welcome..

Autocomplete in Java Script

Follow the below instruction to implement autocomplete feature using js. Put the : AutoComplete.js file as per your required folder Similarly the AutoComplete.css file . Write your client file . in that call to the AutoComplete_Create method of AutoComplete.js file. Pass there the id of your text box/text area and the data as an array. Please follw the attachment carefully to success your integration. For more details refer the site ; http://www.phpguru.org/static/AutoComplete.htm Client :

Springs Module

Spring is one of the recent technology which help developers to do a lot of things without coding but have to structured it's xml files properly. Some important links which helps you to brighten your knowledge in springs. * Springs Tutorial * Springs Framework Tutorial

Hibernate

Best sites which are very much useful for assist in Hibernate related problems * Hibernate main site * Hibernate Tutorial * Hibernate Forum * Hibernate Wikipedia * Popular Hibernate Books * Hibernate Materials * Relational Persistence for Idiomatic Java