Castor is an open source data binding framework for moving data from XML to Java programming language objects and from Java to databases. It’s the shortest path between Java objects, XML documents and relational tables. Castor provides Java-to-XML binding, Java-to-SQL persistence, and more. Castor is made up of (independent) modules as follows:- Castor XML – [...]

The Reflection API allows Java code to examine classes and objects at run time. The new reflection classes allow you to call another class’s methods dynamically at run time. With the reflection classes, you can also examine an instance’s fields and change the fields’ contents. Reflection is commonly used by programs which require the ability [...]

Cases should be avoided -1. DO NOT use FUNCTIONS (,TO_NUMBER ,Decode,NVL, TO_CHAR) unnecessarily when a simple join would work 2. DO NOT use ‘SELECT *’ explicitly. Make sure that you select only required columns from the tables. 3. DO NOT use HAVING clause where a WHERE clause would do. 4. DO NOT use ORDER BY [...]

Shocked? But yes its true. Microsoft has already planned for Windows 7′s successor(s) which are in the early stages of development. Based on the information on the LinkedIn profiles of the Research team of Microsoft and the resumes floating on the internet it has been a matter of fact that Windows 8 will be having [...]

Big question today: What is the scope of .NET and J2EE platforms. Which one is more dominant in industry today? I want to answer this question in this post with my viewpoint with no intentions of hurting anybody but with a sole intention of increasing the knowledge of J2EE for .NET people and .NET for [...]

Marker interface is a interface which don’t have any mehtod.It is used to tag the implementing class based on their purpose.Marker interface is a Java interface which doesn’t actually define any fields. It is just used to “mark” Java classes which support a certain capability –the class marks itself as implementing the interface. For example, [...]

A type of inner class that has no name that you define right in the middle of a method (where static init blocks and instance init blocks count as methods). You define it, and create an object of that type as a parameter all in one line. An anonymous class is defined and instantiated in [...]

We can send mail through JavaMail Api through java code.I have read somewhere and thought of sharing with everyone. For using this code you need to JavaMail Api. Update Send email in text and html format Text and HTML format

Coding in JavaScript is always cumbersome.Programmer always find difficult debugging in JavaScript.There is one IDE which help javascript programmer.That is Aptana Studio. Aptana Studio is an open source integrated development environment (IDE) for building Ajax web applications. It includes support for JavaScript, HTML, DOM, and CSS with code-completion, outlining, JavaScript debugging, error and warning notification [...]

Abstract classes Abstract class is class which contain one or more abstract methods, which is implemented by sub classes. An abstract class can contain no abstract methods but also containe mehtod with body. Abstract classes are useful in a situation when some general methods should be implemented and specialization behavior should be implemented by subclasses.Abstract [...]