Easy to Learn Java: Programming Articles, Examples and Tips

Start with Java in a few days with Java Lessons or Lectures

Home

Code Examples

Java Tools

More Java Tools!

Java Forum

All Java Tips

Books

Submit News
Search the site here...
Search...
 

Java odbc - Accessing the databases from java (Applets)

Custom Search
Java odbc - Accessing the databases from java (Applets)

[ Return to Shlurrrpp......Java ]




Accessing the Databases from Java

Accessing the Databases from Java

The ODBC programs were tried out in 'C'. We have used Visual C++ (2.1) and created the 'C' application programs (ODBC - 32bit).

The same programs have been tried out from JAVA. For the java programs we have

 

  • Downloaded the jetconnect software (jetbeta.zip )from http://www.xdb.com . (We have worked on Windows '95 platform.)

     

  • Create a directory say aaa and being in it unzip first the jetbeta.zip and thereafter only the jetconnect.zip file .

     

  • set CLASSPATH= ;

     

  • The javain directory should be in the path.

     

o1.c

 


#include <windows.h>
#include <sqlext.h>

int r;
char aa[100];
void * e;
int _stdcall WinMain(void * i, void * j, char * k, int l)
{
 r=SQLAllocEnv(&e);
 sprintf(aa,"r=%d..e=%p",r,e) ;
 MessageBox(0,aa,"SQLAllocEnv",0);
}

zzz.java
import jet.connect.*;
import java.applet.*;
public class zzz  extends Applet
{
 public void init()
 {
  DbEnv e;
  try
  {
   e = DbEnv.SQLAllocEnv();
   System.out.println("SQLAllocEnv..."+e);
  }
  catch(DbSqlException x)
  {
   System.out.println(x.getErrorMsg());
   return;
  }
 }
}

o2.c

 


#include <windows.h>
#include <sqlext.h>

int r;
char aa[100];
void * e;
void * c;

int _stdcall WinMain(void * i, void * j, char * k, int l)
{
 r=SQLAllocEnv(&e);
 sprintf(aa,"r=%d..e=%p",r,e) ;
 MessageBox(0,aa,"SQLAllocEnv",0);

 r=SQLAllocConnect(e,&c);
 sprintf(aa,"r=%d..c=%p",r,c) ;
 MessageBox(0,aa,"SQLAllocConnect",0);
}

zzz.java

import jet.connect.*;
import java.applet.*;

public class zzz extends Applet
{
 public void init()
 {
  DbEnv e;
  DbDbc c;
  try
  {
   e = DbEnv.SQLAllocEnv();
   System.out.println("SQLAllocEnv..."+e);
   c = e.SQLAllocConnect();
   System.out.println("SQLAllocConnect..."+c);
  }
  catch(DbSqlException x)
  {
   System.out.println(x.getErrorMsg());
   return;
  }
 }
}

 


o3.c

 


#include <windows.h>
#include <sql.h>
#include <sqlext.h>

int r;
char aa[100];
void * e;
void * c;

int _stdcall WinMain(void * i, void * j, char * k, int l)
{
 r=SQLAllocEnv(&e);
 sprintf(aa,"r=%d..e=%p",r,e) ;
 MessageBox(0,aa,"SQLAllocEnv",0);

 r=SQLAllocConnect(e,&c);
 sprintf(aa,"r=%d..c=%p",r,c) ;
 MessageBox(0,aa,"SQLAllocConnect",0);

r=SQLConnect(c,"saccess",-3,"",0,"",0);
 sprintf(aa,"r=%d..",r) ;
 MessageBox(0,aa,"SQLConnect",0);

}

zzz.java

import jet.connect.*;
import java.applet.*;

public class zzz extends Applet
{
 public void init()
 {
  boolean i;
  DbEnv e;
  DbDbc c;
  try
  {
  e = DbEnv.SQLAllocEnv();
  System.out.println("SQLAllocEnv..."+e);
  c = e.SQLAllocConnect();
  System.out.println("SQLAllocConnect..."+c);
  i=c.SQLConnect("sdbase","","");
  System.out.println("SQLConnect..."+i);
  }
  catch(DbSqlException x)
  {
  System.out.println(x.getErrorMsg());
  return;
  }
 }
}

 


o4.c

 


#include <windows.h>
#include <sqlext.h>
#include <sql.h>

int r,len,len2;
char aa[100],bb[255],ee[512];
void * e;
void * c;

int _stdcall WinMain(void * i, void * j, char * k, int l)
{
 r=SQLAllocEnv(&e);
 sprintf(aa,"r=%d..e=%p",r,e) ;
 MessageBox(0,aa,"SQLAllocEnv",0);

 r=SQLAllocConnect(e,&c);
 sprintf(aa,"r=%d..c=%p",r,c) ;
 MessageBox(0,aa,"SQLAllocConnect",0);

 r=SQLDataSources(e,SQL_FETCH_FIRST,bb,255,&len,ee,512,&len2);
 sprintf(aa,"r=%d bb = %s len = %d ee = %s len2 = %d",r,bb,len,ee,len2);
 MessageBox(0,aa,"SQLDataSources",0);

 while((SQLDataSources(e,SQL_FETCH_NEXT,bb,255,&len,ee,512,&len2))!=SQL_NO_DATA_FOUND)
 {
  sprintf(aa,"r=%d bb = %s len = %d ee = %s len2 = %d",r,bb,len,ee,len2);
  MessageBox(0,aa,"SQLDataSources",0);
 }
}


zzz.java

import jet.connect.*;
import java.applet.*;

public class zzz extends Applet
{
 public void init()
 {
 DbEnv e;
 DbDbc c;
 String g;
 DbDataSource d;
 try
 {
 e = DbEnv.SQLAllocEnv();
 System.out.println("SQLAllocEnv..."+e);

 c = e.SQLAllocConnect();
 System.out.println("SQLAllocConnect..."+c);

 d=e.SQLDataSources(Db.SQL_FETCH_FIRST);
 g=d.getDSN();
 }
 catch(DbSqlException x)
 {
 System.out.println(x.getErrorMsg());
 return;
 }
 System.out.println("Data Source Name..."+g);
 d=e.SQLDataSources(Db.SQL_FETCH_NEXT);
 while(d != null)
 {
 g=d.getDSN();
 System.out.println("Data Source Name..."+g);
 d=e.SQLDataSources(Db.SQL_FETCH_NEXT);
 }
}
}

zzz.java
import jet.connect.*;
import java.applet.*;

public class zzz extends Applet
{
 public void init()
 {
 DbEnv e;
 DbDbc c;
 String g;
 String h;
 DbDataSource d;
 try
 {
 e = DbEnv.SQLAllocEnv();
 System.out.println("SQLAllocEnv..."+e);

 c = e.SQLAllocConnect();
 System.out.println("SQLAllocConnect..."+c);

 d=e.SQLDataSources(Db.SQL_FETCH_FIRST);
 g=d.getDSN();
 h=d.getDescription();
 System.out.println("Data Source Name..."+g);
 System.out.println("Data Source Description..."+h);
 }
 catch(DbSqlException x)
 {
 System.out.println(x.getErrorMsg());
 return;
 }
 d=e.SQLDataSources(Db.SQL_FETCH_NEXT);
 while(d != null)
 {
  g=d.getDSN();
  h=d.getDescription();
  System.out.println("Data Source Name..."+g);
  System.out.println("Data Source Description..."+h);
  d=e.SQLDataSources(Db.SQL_FETCH_NEXT);
 }
 }
}

 


o5.c

 


#include <windows.h>
#include <stdio.h>
#include <sqlext.h>
#include <sql.h>

int r,len,len2;
char aa[100],bb[255],cc[255];
void * e;
void * c;

int _stdcall WinMain(void * i, void * j, char * k, int l)
{
 r=SQLAllocEnv(&e);
 sprintf(aa,"r=%d..e=%p",r,e) ;
 MessageBox(0,aa,"SQLAllocEnv",0);

 r=SQLAllocConnect(e,&c);
 sprintf(aa,"r=%d..c=%p",r,c) ;
 MessageBox(0,aa,"SQLAllocConnect",0);

 r=SQLDrivers(e,SQL_FETCH_FIRST,bb,255,&len,cc,255,&len2);
 sprintf(aa,"r=%d bb = %s len = %d cc = %s len2 = %d",r,bb,len,cc,len2);
 MessageBox(0,aa,"SQLDrivers",0);

 while((SQLDrivers(e,SQL_FETCH_NEXT,bb,255,&len,cc,255,&len2))!=SQL_NO_DATA_FOUND)
 {
 sprintf(aa,"r=%d bb = %s len = %d cc = %s len2 = %d",r,bb,len,cc,len2);
 MessageBox(0,aa,"SQLDrivers",0);
 }
}

zzz.java

import jet.connect.*;
import java.applet.*;

public class zzz extends Applet
{
 public void init()
 {
 DbEnv e;
 DbDbc c;
 String g;
 String h;

 DbDriver d;
 try
 {
 e = DbEnv.SQLAllocEnv();
 System.out.println("SQLAllocEnv..."+e);

 c = e.SQLAllocConnect();
 System.out.println("SQLAllocConnect..."+c);

 d=e.SQLDrivers(Db.SQL_FETCH_FIRST);
 g=d.getDriverDesc();
 h=d.getDriverAttributes();
 System.out.println("Driver Description..."+g);
 System.out.println("Driver Attributes..."+h);
 }
 catch(DbSqlException x)
 {
 System.out.println(x.getErrorMsg());
 return;
 }
 d=e.SQLDrivers(Db.SQL_FETCH_NEXT);
 while(d != null)
 {
 g=d.getDriverDesc();
 h=d.getDriverAttributes();
 System.out.println("Driver Description..."+g);
 System.out.println("Driver Attributes..."+h);
 d=e.SQLDrivers(Db.SQL_FETCH_NEXT);
 }
}
}

 


o6.c

 


#include <windows.h>
#include <sqlext.h>
#include <sql.h>

int r;
char aa[100];
void * e;
void * c;
void * s;


int _stdcall WinMain(void * i, void * j, char * k, int l)
{
 r=SQLAllocEnv(&e);
 sprintf(aa,"r=%d..e=%p",r,e) ;
 MessageBox(0,aa,"SQLAllocEnv",0);

 r=SQLAllocConnect(e,&c);
 sprintf(aa,"r=%d..c=%p",r,c) ;
 MessageBox(0,aa,"SQLAllocConnect",0);

r=SQLConnect(c,"saccess",-3,"",-3,"",-3);
sprintf(aa,"r=%d ",r);
MessageBox(0,aa,"SQLConnect",0);

r = SQLAllocStmt(c, &s);
sprintf(aa,"r=%d ",r);
MessageBox(0,aa,"SQLAllocStmt",0);

r = SQLExecDirect(s,"Create table aaa ( vno number ,name char (20))", -3);
sprintf(aa,"r=%d ",r);
MessageBox(0,aa,"SQLExecDirect",0);


}

zzz.java

import jet.connect.*;
import java.applet.*;
public class zzz extends Applet
{
 public void init()
 {
  DbChar aa;
  DbEnv e;
  DbDbc c;
  DbStmt s;
  boolean a;
  try
  {
   e = DbEnv.SQLAllocEnv();
   c=e.SQLAllocConnect();
   c.SQLConnect("saccess","","");
   s = c.SQLAllocStmt();
   a = s.SQLExecDirect("Create table ccc ( vno number ,name char (20))");
   System.out.println("Table created ..."+a);
  }
  catch(DbSqlException x)
  {
   System.out.println(x.getErrorMsg());
   return;
  }
 }
}

 


o7.c

 


#include <windows.h>
#include <sqlext.h>
#include <sql.h>

int r,ncols, ii,jj, len,err_code,len1,len2,len3;
char aa[100],bb[255],cc[512];
void * e;
void * c;
void * s;


int _stdcall WinMain(void * i, void * j, char * k, int l)
{
 r=SQLAllocEnv(&e);
 sprintf(aa,"r=%d..e=%p",r,e) ;
 MessageBox(0,aa,"SQLAllocEnv",0);

 r=SQLAllocConnect(e,&c);
 sprintf(aa,"r=%d..c=%p",r,c) ;
 MessageBox(0,aa,"SQLAllocConnect",0);

r=SQLConnect(c,"saccess",-3,"",-3,"",-3);
sprintf(aa,"r=%d ",r);
MessageBox(0,aa,"SQLConnect",0);

r = SQLAllocStmt(c, &s);
sprintf(aa,"r=%d ",r);
MessageBox(0,aa,"SQLAllocStmt",0);

r = SQLExecDirect(s,"Insert into  aaa values( 1001 ,'aaaa')", -3);
sprintf(aa,"r=%d ",r);
MessageBox(0,aa,"SQLExecDirect",0);


r = SQLExecDirect(s,"Insert into  aaa values( 1002 ,'bbbb')", -3);
sprintf(aa,"r=%d ",r);
MessageBox(0,aa,"SQLExecDirect",0);


r = SQLExecDirect(s,"Insert into  aaa values( 1003 ,'cccc')", -3);
sprintf(aa,"r=%d ",r);
MessageBox(0,aa,"SQLExecDirect",0);

}

zzz.java

import jet.connect.*;
import java.applet.*;
public class zzz extends Applet
{
 public void init()
 {
  DbChar aa;
  DbEnv e;
  DbDbc c;
  DbStmt s;
  boolean a;
  try
  {
   e = DbEnv.SQLAllocEnv();
   c=e.SQLAllocConnect();
   c.SQLConnect("saccess","","");
   s = c.SQLAllocStmt();
   a = s.SQLExecDirect("Insert into  bbb values( 1001 ,'aaaa')");
   System.out.println("Insert record ..."+a);
  }
  catch(DbSqlException x)
  {
   System.out.println(x.getErrorMsg());
   return;
  }
 }
}

 


o8.c

 


#include <windows.h>
#include <stdio.h>
#include <sqlext.h>
#include <sql.h>

int r,ncols, ii,jj, len,err_code,len1,len2,len3;
char aa[100],bb[255],cc[512];
void * e;
void * c;
void * s;


int _stdcall WinMain(void * i, void * j, char * k, int l)
{
 r=SQLAllocEnv(&e);
 sprintf(aa,"r=%d..e=%p",r,e) ;
 MessageBox(0,aa,"SQLAllocEnv",0);

 r=SQLAllocConnect(e,&c);
 sprintf(aa,"r=%d..c=%p",r,c) ;
 MessageBox(0,aa,"SQLAllocConnect",0);

r=SQLConnect(c,"saccess",-3,"",-3,"",-3);
sprintf(aa,"r=%d ",r);
MessageBox(0,aa,"SQLConnect",0);

r = SQLAllocStmt(c, &s);
sprintf(aa,"r=%d ",r);
MessageBox(0,aa,"SQLAllocStmt",0);

r = SQLExecDirect(s,"Select * from aaa", -3);
sprintf(aa,"r=%d ",r);
MessageBox(0,aa,"SQLExecDirect",0);


while (SQLFetch(s) != SQL_NO_DATA_FOUND)
{
 r = SQLGetData(s, 1,SQL_C_CHAR, aa,100, &len);
 r = SQLGetData(s, 2,SQL_C_CHAR, bb,100, &len);
 MessageBox(0,aa,bb,0);

}
}

zzz.java
import jet.connect.*;
import java.applet.*;
public class zzz extends Applet
{
 public void init()
 {
  DbChar aa,bb;
  DbEnv e;
  DbDbc c;
  DbStmt s;
  boolean a;
  aa = new DbChar(100);
  bb = new DbChar(100);
  try
  {
   e = DbEnv.SQLAllocEnv();
   c=e.SQLAllocConnect();
   c.SQLConnect("saccess","","");
   s = c.SQLAllocStmt();
   a = s.SQLExecDirect("Select * from bbb");
   System.out.println("Select..."+a);
   while (s.SQLFetch())
   {
    s.SQLGetData(1,aa);
    s.SQLGetData(2,bb);
    System.out.println("aa ..." + aa);
    System.out.println("bb ...." + bb); 
   }
  }
  catch(DbSqlException x)
  {
   System.out.println(x.getErrorMsg());
   return;
  }
 }
}

 


o9.c

 


#include <windows.h>
#include <sqlext.h>
#include <sql.h>

int r,n;
char aa[100];
void * e;
void * c;
void * s;

int _stdcall WinMain(void * i, void * j, char * k, int l)
{
 r=SQLAllocEnv(&e);
 sprintf(aa,"r=%d..e=%p",r,e) ;
 MessageBox(0,aa,"SQLAllocEnv",0);

 r=SQLAllocConnect(e,&c);
 sprintf(aa,"r=%d..c=%p",r,c) ;
 MessageBox(0,aa,"SQLAllocConnect",0);

r=SQLConnect(c,"saccess",-3,"",-3,"",-3);
sprintf(aa,"r=%d ",r);
MessageBox(0,aa,"SQLConnect",0);

r=SQLAllocStmt(c,&s);
sprintf(aa,"r=%d ",r);
MessageBox(0,aa,"SQLConnect",0);

r=SQLExecDirect(s,"Select * from aaa",-3);
sprintf(aa,"r=%d ",r);
MessageBox(0,aa,"SQLExecDirect",0);

r=SQLNumResultCols(s,&n);
sprintf(aa,"Number of cols=%d ",n);
MessageBox(0,aa,"SQLNumCols",0);

}

zzz.java

import jet.connect.*;
import java.applet.*;
public class zzz extends Applet
{
public void init()
{
int n;
DbEnv e;
DbDbc c;
DbStmt s;
try
{
 e = DbEnv.SQLAllocEnv();
 c = e.SQLAllocConnect();
 c.SQLConnect("saccess","","");
 s = c.SQLAllocStmt();
 s.SQLExecDirect("Select * from aaa");
}
catch(DbSqlException x)
{
 System.out.println(x.getErrorMsg());
 return;
}
n=s.SQLNumResultCols().intValue();
System.out.println("Number of columns"+ n);
}
}

 


o10.c

 


#include <windows.h>
#include <sqlext.h>
#include <sql.h>

int r,n, ii, len;
char aa[100],bb[255],cc[512];
void * e;
void * c;
void * s;


int _stdcall WinMain(void * i, void * j, char * k, int l)
{
 r=SQLAllocEnv(&e);
 sprintf(aa,"r=%d..e=%p",r,e) ;
 MessageBox(0,aa,"SQLAllocEnv",0);

 r=SQLAllocConnect(e,&c);
 sprintf(aa,"r=%d..c=%p",r,c) ;
 MessageBox(0,aa,"SQLAllocConnect",0);

r=SQLConnect(c,"saccess",-3,"",-3,"",-3);
sprintf(aa,"r=%d ",r);
MessageBox(0,aa,"SQLConnect",0);

r = SQLAllocStmt(c, &s);
sprintf(aa,"r=%d ",r);
MessageBox(0,aa,"SQLAllocStmt",0);

r = SQLExecDirect(s,"Select * from aaa", -3);
sprintf(aa,"r=%d ",r);
MessageBox(0,aa,"SQLExecDirect",0);

r = SQLNumResultCols(s,&n);
sprintf(aa,"r=%d ",r);
MessageBox(0,aa,"SQLExecDirect",0);


while (SQLFetch(s) != SQL_NO_DATA_FOUND)
{
 for( ii = 1; ii <= n ; ii++)
 {
  r = SQLGetData(s, ii,SQL_C_CHAR, aa,100, &len);
  MessageBox(0,aa,"SQLGetData",0);
 }
}
}

zzz.java

import jet.connect.*;
import java.applet.*;
public class zzz extends Applet
{
 public void init()
 {
  DbChar aa;
  DbEnv e;
  DbDbc c;
  DbStmt s;
  boolean a;
  int n, ii;
  aa = new DbChar(100);
  try
  {
   e = DbEnv.SQLAllocEnv();
   c=e.SQLAllocConnect();
   c.SQLConnect("saccess","","");
   s = c.SQLAllocStmt();
   a = s.SQLExecDirect("Select * from bbb");
   System.out.println("Select..."+a);
   n=s.SQLNumResultCols().intValue();
   System.out.println("Number of columns .."+n);
   while (s.SQLFetch())
   {
    for( ii = 1; ii <= n; ii++)
    {
     s.SQLGetData(ii,aa);
     System.out.println("aa ..." + aa);
    }
   }
  }
  catch(DbSqlException x)
  {
   System.out.println(x.getErrorMsg());
   return;
  }
 }
}

 


Take a coffee break and pass by our Java page or you can move on to the next program in which we have used all the above syntaxes and developed a mini-interface for the databases.

Spare us a minute and fling your comments, feedback, suggestions et al to us right offhand...


 

 

Vijay Mukhi's Computer Institute
B-13, Everest Building, Tardeo, Bombay 400 034, India.
http://www.neca.com/~vmis
e-mail : vmukhi@giasbm01.vsnl.net.in



[ Return to Shlurrrpp......Java ]


Top 10 read Java Articles
 Get free "1000 Java Tips eBook"

 Java Calendar and Date: good to know facts and code examples

 Array vs ArrayList vs LinkedList vs Vector: an excellent overview and examples

 How can I convert any Java Object into byte array? And byte array to file object

 The Java Lesson 1: What is Java?

 How do I compare two dates and times, date between dates, time between times and

 Maven vs Ant or Ant vs Maven?

 How to open, read, write, close file(s) in Java? Examples on move, rename and de

 Java Array

 Java: JLabel font and color


[ More in News Section ]
Java Lessons

The Java Lesson 1:
What is Java?
The Java Lesson 2:
Anatomy of a simple Java program
The Java Lesson 3:
Identifiers and primitive data types
The Java Lesson 4:
Variables, constants, and literals
The Java Lesson 5:
Arithmetic operations, conversions, and casts
The Java Lesson 6:
Boolean expressions and operations
The Java Lesson 7:
Bitwise operations
The Java Lesson 8:
Flow control with if and else
The Java Lesson 9:
switch statements
The Java Lesson 10:
for, while, and do-while statements
The Java Lesson 11:
Using break and continue
The Java Lesson 12:
Class methods and how they are called
The Java Lesson 13:
Using the Math class
The Java Lesson 14:
Creating and calling custom class methods
The Java Lesson 15:
Overloading class methods
The Java Lesson 16:
An introduction to objects and object references
The Java Lesson 17:
The String class
The Java Lesson 18:
The StringBuffer class
The Java Lesson 19:
Initializing and processing arrays of primitives
The Java Lesson 20:
Initializing and processing arrays of objects
The Java Lesson 23:
Inheritance and overriding inherited methods
The Java Lesson 24:
abstract classes and polymorphism
The Java Lesson 25:
Interfaces, instanceof, and object conversion and casting
The Java Lesson 26:
Introduction to graphical programming and the java.awt packa
The Java Lesson 27:
The Component class
The Java Lesson 28:
Containers and simple layout managers
The Java Lesson 29:
The Color and Font classes
The Java Lesson 30:
Drawing geometric shapes
The Java Lesson 31:
Choice, List, and Checkbox controls
The Java Lesson 32:
Using the Scrollbar graphical control
The Java Lesson 33:
Menus and submenus
The Java Lesson 34:
An introduction to applets and the Applet class
The Java Lesson 35:
Essential HTML to launch an applet and pass it parameters
The Java Lesson 36:
Mouse event processing
Java Lesson 37:
Menus and submenus
Java Lesson 38:
The WindowListener interface and the WindowAdapter class
Java Lesson 39:
An introduction to GridBagLayout
Java Lesson 40:
An introduction to the Java Collections API
Java Lesson 41:
Exception handling with try, catch, and finally blocks
Java Lesson 42:
Claiming and throwing exceptions
Java Lesson 43:
Multithreading, the Thread class, and the Runnable interface
Java Lesson 44:
An introduction to I/O and the File and FileDialog classes
Java Lesson 45:
Low-level and high-level stream classes
Java Lesson 46:
Using the RandomAccessFile class
Java Lessons by
Joh Huhtala: Update

Latest articles
 Java Profiler JProbe to Resolve Performance Problems Faster

 SSL with GlassFish v2, page 5

 SSL with GlassFish v2, page 4

 SSL with GlassFish v2, page 3

 SSL with GlassFish v2, page 2

 The Java Lesson 2: Anatomy of a simple Java program, page 2

 New site about Java for robots and robotics: both software and hardware.

 Exceptions -III: What's an exception and why do I care?

 Exceptions -II: What's an exception and why do I care?

 Exceptions: What's an exception and why do I care?

 Double your Java code quality in 10 minutes, here is receipt

 Murach's Java Servlets and JSP

 How to get ascii code from a char in Java?

 Can we just try without catch? Yes!

 Make Tomcat page load faster

 Make your Tomcat More secure - limit network address for certain IP addresses

 New Java book online starts now here...

 Implementing RESTful Web Services in Java

 Firefox trimming from 1 GB to 40 Mb with many tabs opened

 SSL with GlassFish v2

 My request to replublish Tech Tips

 Search JavaFAQ.nu site here

 New Advanced Installer for Java 6.0 brings XML updates and imports 3rd party MSI

 EJB programming restrictions

 Maven vs Ant or Ant vs Maven?

 Why Java does not use default value which it should?

 How to unsign signed bytes in Java - your guide is here

 The Java Lesson 3: Identifiers and primitive data types. Page 2

 The Java Lesson 7: Bitwise operations with good examples, click here! Page 4

 The Java Lesson 7: Bitwise operations with good examples, click here! Page 3


[ More in News Section ]


Home Code Examples Java Forum All Java Tips Books Submit News, Code... Search... Offshore Software Tech Doodling

RSS feed Java FAQ RSS feed Java FAQ News     

    RSS feed Java Forums RSS feed Java Forums

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest 1999-2006 by Java FAQs Daily Tips.

Interactive software released under GNU GPL, Code Credits, Privacy Policy