You are here: Home

JavaJ2ee.net

Read Only Java Blog



Sponsored Links

Get More out of Dropbox

Friends!

Using dropbox you have lot of flexibility such as sharing photos with friends, reading pdfs from anywhere specially you can share your projects with limited friends you have. Always have your stuff when you need it with @Dropbox. 2GB account is free! http://db.tt/NiQioP5 and using this referral you will get more 500 MB space for free.

Upload once and access any where, from your pc, laptop, desktop, mobile etc..

For more details see this intro video.

JavaScript is disabled!
To display this content, you need a JavaScript capable browser.

 

 

 

 

Java J2EE Linux Stuff from my Blog

You can view my complete blog at http://geektalk.zforums.org

  • Adding your gist snippt into wordpress post
    This is a simple test to add your gist snippet to wordpress post

  • How to read XML column as String from db2 in jdbc
    Let us say I have a table called ABC with 2 columns id(number), content(xml) in DB2. String q="select * from ABC where id=121";  Connection conn = getConnection(dbUrl,schemaName,userName,password);  Statement stmt = conn.createStatement();  ResultSet rs = stmt.executeQuery(q);  while(rs.next())  {     //HERE HOW CAN I GET CONTENT COLUMN VALUE IN STRING FORMAT  }  I have tried rs.getObject(i), rs.getString(i) [...]

  • Top 10 Features of Eclipse Helios
    This article explains top 10 features of Eclipse Helios: 1. Xtext Support This is the first time I heard of this word. Xtext is a programming language framework which bridges the gap between modules. grammars and programming language tool support. Basically it is used to create rich editor configuration files, a general purpose programming language [...]

  • Mount NTFS Partition on Solaris and Ubuntu
    Mounting Windows partitions in Solaris and Ubuntu This article explains how to mount Windows NTFS partition into Solaris and Ubuntu Linux. Solaris 1. First Download and Install packages : FSWpart and FSWfsmisc FSWpart : http://www.belenix.org/binfiles/FSWpart.tar.gz FSWfsmisc : http://www.belenix.org/binfiles/FSWfsmisc.tar.gz % gunzip -c FSWpart.tar.gz | tar xvf - # pkgadd -d . FSWpart % gunzip -c FSWfsmisc.tar.gz [...]

  • Reading Domain (whois) Information using Shell Script
    Using simple host and whois commands we can get full domain record (whois) information #!/bin/bash # Using this script you can read domain who is record information. # Written under bash shell. # Author: Admin @ geektalk.zforums.org # Get all domains _domain=$@ # Die if no domains are given [ $# -eq 0 ] && [...]

  • Reading Maps bestway in Java
    Using Entry<K,V> interface from Java 5 onwards we can read any Map values very easyly. Bellow Java program explains both old way and best way of reading maps in java. /** * IterateMap.java */ package org.zforums.geektalk; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; /** * This program explains best way to iterate through maps. [...]

  • Series of Commands to Build Complete Linux Development Environment on Ubuntu 9.10
    In 2-3 Hours you can setup complete development environment which is useful for Java, Php,  Joomla, Drupal and Rails with Git, Maven, CVS. I have done this today ( of course I don’t know how many times I have done so far!). Here is my history. 1  which gnome-terminal 2  sudo ln -s /usr/bin/gnome-terminal /usr/bin/terminal [...]

  • Yum explained : For Redhat based systems
    RPM packagemanagement wtih YUM on Redhat, Centos and Fedora

  • Annotations in Core Java
    Since Java 1.5 there are some useful annotations we can use in our daily tasks. Some of them specifically for core java are listed bellow. Annotations are in java.lang and java.lang.annotations. You can easily write your custom annotations using @interface. @Deprecated: A program element annotated @Deprecated is one that programmers are discouraged from using, typically [...]

  • Install Nexus in 5 Easy Steps
    Nexus Overview: Nexus manages software “artifacts” required for development, deployment, and provisioning. If you develop software, Nexus can help you share those artifacts with other developers and end-users. Maven’s central repository has always served as a great convenience for users of Maven, but it has always been recommended to maintain your own repositories to ensure [...]

 

 
More Articles...
  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  Next 
  •  End 
  • »