Posts Tagged ‘Java’

Protect Java code from decompilation using Java Obfuscator

Protect Java code from decompilation using Java Obfuscator
If you are writing Java classes and distributing them over the Internet, you should know that people can reverse-engineer, disassemble, or decompile your classes into Java source code. One of such decompiler is JAD. In this article we discuss about the usage of JAD to decompile the Java class.So to make the job ...

20 very useful Eclipse IDE Shortcuts for Developers

20 very useful Eclipse IDE Shortcuts for Developers
Eclipse have been my favorite Java IDE since I started coding in Java. Shortcuts makes life very easy when you are working with any IDE. Eclipse also comes with lot of shortcuts that makes like of a developer easy.Following are few shortcuts of my choice.Ctrl + Shift + O : Organize imports Ctrl + / : ...

Static Import in Java: New way to Import things in Java!

Static Import is a new feature added in Java 5 specification. Java 5 has been around the corner for some time now, still lot of people who are new in Java world doesn't know about this feature.Although I have not used this feature in my work, still it is interesting to know about.What is ...

Dynamic Class Loading using Java Reflection API

Dynamic Class Loading using Java Reflection API
One of the reason why Java language has been so useful and used widely is the set of APIs that comes with the language (and 3rd party APIs like iText etc). Using these APIs one do a whole lot unimaginable stuff.Java Reflection API are one of such APIs that extend the horizon of a Java ...

Convert ArrayList to Arrays in Java

A lot of time I have to convert ArrayList to Arrays in my Java program. Although this is a simple task, many people don't know how to do this and end up in iterating the java.util.ArrayList to convert it into arrays. I saw such code in one of my friends work and I thought to share this so that people don't end up writing easy ...

Double Brace Initialization in Java!

Double Brace Initialization in Java!
Few days back I came to know about a different way of initializing collections and objects in Java. Although this method of initialization has been there in Java since quite a few years now, very few people actually knows about it or have used it in their code. The technique is called Double Brace Initialization technique ...

RESTful Web Service tutorial: An Introduction for beginners

RESTful Web Service tutorial: An Introduction for beginners
REST is a term coined by Roy Fielding in his Ph.D. dissertation to describe an architecture style of networked systems. REST is an acronym standing for Representational State Transfer. Representational State Transfer(REST), a software architecture style used in developing stateless web services. While this style may be used to describe any distributed framework that uses ...

iText tutorial: Merge & Split PDF files using iText JAR

iText tutorial: Merge & Split PDF files using iText JAR
In previous article about Generating PDF files using iText JAR, Kiran Hegde had described a nice and basic way of generating PDF files in Java using iTest JAR. It is a great starter tutorial for those who wants to start working with iText. In one of the requirement, I had to merge two or ...

Tutorial: Create Autocomplete feature with Java – JSP / jQuery

Tutorial: Create Autocomplete feature with Java - JSP / jQuery
Autocomplete is a common feature available in lot of web tools and services. You will find lots of implementation of autocomplete features. Let us see how can we implement a simple Autocomplete feature for Country names in Java-JSP and jQuery.Related: Spring MVC - AutoComplete tutorial with JSON & JQueryWe will use jQuery's autocomplete plugin for our example. Just go to JQuery Autocomplete ...

Sun announced Java App Store at JavaOne 2009

Sun announced Java App Store at JavaOne 2009
Sun Microsystems has announced its own version of Apple's App store, The Java Store. As a part of the opening general session of JavaOne on Tuesday, Scott McNealy and James Gosling unveiled the Java Store, at store.java.com. The Java Store is launched in public beta. If you are having the Sun Developer ...
Page 4 of 8« First...23456...Last »