Ever wanted to hide all those closed projects in eclipse? Well, here is a simple trick that you may not know already.Imagine your Eclipse workspace is filled with many projects that you created in past just to test some small functionality. Now you are done with these projects and hence you have closed it. Eclipse by default show all the closed projects in Project ...
This is an attempt to create a simple URL shortner service in pure JEE with Struts2 and Hibernate.Creating Base Framework I always have Basic framework ready which gives a kick start to the web app development. You don't have to hassle about different configuration issues/jar file issues etc. Let us start with creating sample base framework ...
The Primary Key(PK) constraint is the most basic concept of any RDBMS (I am particularly interested in Oracle). Yet, I have noticed people getting confused when it comes to the practical usage and asking questions like:- I have disabled PK and now oracle is doing full table scan. - How PK constraints and indexes are related/different? - How ...
iText is a wonderful library if you want to generate PDFs in Java. It comes with a huge set of API to create/manage a PDF file. We already saw in our previous tutorial
how to generate a pdf file in itext and also
how to merge ...
Quote 1: Avoid creating unnecessary objects and always prefer to do Lazy Initialization Object creation in Java is one of the most expensive operation in terms of memory utilization and performance impact. It is thus advisable to create or initialize an object only when it is required in the code.public class Countries {private List countries; public ...
Following are some bunch of commands that might be useful if you want to find files in unix/linux.Large Files Find files larger than 10MB in the current directory downwards...find . -size +10000000c -lsFind files larger than 100MB...find . -size +100000000c -lsOld Files Find files last modified over 30days ago...find . -type f -mtime 30 -lsFind files last ...
Hi folks, its been a long time since I have posted some thing technical, so I will be writing about the challenge I got at NIT KU, where I cracked WinRAR 3.80 using a disassembler and will tell you the same here. You can crack any version of WinRAR using this method and need not to pay for ...
I noticed a strange thing today on Twitter's
homepage. Its already end of the first month of 2010 and Twitter's homepage is still showing Copyright year 2009!! I don't know if they have done this purposefully or just forgot to update the year. See the below screenshot.
...