Validating the mail very effectively, is little difficult. Most of the programers will search for a code for this to make their work easier. Here is a simple code for validating your email in Java.
Click here to Read Full Article
Tomcat Administration: Starting Tomcat automatically after Linux boots
If Tomcat was not bundled as part of an operating system distribution, it won’t have the necessary file(s) to start automatically at system boot time. Please visit here to findout the steps that should be taken to start Tomcat automatically after Linux boots.
Some other helpful links for this are
Google’s secrets
How to get the best result from google search? Here are some keywords which can be used to get the result more accurately. I got this informations from here. If you know more keywords please comment here. Here we go…
Intitle: If we give Intitle: at the beginning of a query word or phrase (intitle:”Java”) restricts your search results to just the titles of Web pages.
Intext: does the opposite of intitle:, searching only the body text, ignoring titles, links, and so forth. Intext: is perfect when what you’re searching for might commonly appear in URLs. If you’re looking for the term HTML, for example, and you don’t want to get results such as http://www.mysite.com/index.html, you can enter intext:html.
Link: lets you see which pages are linking to your Web page or to another page you’re interested in. For example, try typing in link:http://www.pcmag.com.
site: (which restricts results to top-level domains) with intitle: to find certain types of pages. For example, to get any info from a government website the we can give [Searchitem] site:gov.
Daterange: (start date–end date). You can restrict your searches to pages that were indexed within a certain time period. Daterange: searches by when Google indexed a page, not when the page itself was created. This operator can help you ensure that results will have fresh content (by using recent dates), or you can use it to avoid a topic’s current-news blizzard and concentrate only on older results. Daterange: is actually more useful if you go elsewhere to take advantage of it, because daterange: requires Julian dates, not standard Gregorian dates.
population of [country] : We can easily get the population of the country by this query.
rphonebook: and bphonebook: Suppose you want to contact someone and don’t have his phone number handy. Google can help you with that, too. Just enter a name, city, and state. (The city is optional, but you must enter a state.) If a phone number matches the listing, you’ll see it at the top of the search results along with a map link to the address. If you’d rather restrict your results, use rphonebook: for residential listings or bphonebook: for business listings. If you’d rather use a search form for business phone listings, try Yellow Search
filetype:[extension]: If you prefer to see a particular set of results with a specific file type (for example, PDF links), simply type filetype:pdf.
define: To see a definition for a word or phrase, simply type the word “define:,” then a space, and then the word(s) you want defined. For example, the search [define:e=mc2] will show you a list of definitions for “e=mc2” gathered from various online sources.
Technorati tags: Google, Google search secrets
Hibernate – Difference between session’s get() and load()
Today I went through a great post by Mr. Ganeshji Marwah which will be very useful to beginners. This post is regarding with the difference between Hibernate session’s get() and load() methods. As he describes it is very helpful to improve the performance level. Please click here to visit this post.
Technorati tags: Hibernate

