Apache POI api for Java people


There are some types to connect with Database , here in this example I’m going to work with Oracle Database. I’m using type-4 driver to connect to the data base. there are some steps to follow : Step 1: know your database url , username ,password . and make sure that ojdbc14.jar file should be…
Both JAR and WAR are created(Zipped) with Java JAR tool , both have different purposes. JAR – Java Archive this JAR file may be a standalone java application or a zipped source . this file contains classes , libraries , property files Command to create a JAR file : here i want to create JAR…
before going to use this post My strong advice to see this post first. /* by using this program iam trying to insert data to the Excel sheet */ /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package excelsheetreading; /** * *…
Algorithms for coding interviews! 1. Object oriented programming 2. Data Structures (String*, Arrays, HashMap*, etc..) 3. Stacks and Queues 4. Iterative algorithm 5. Recursive function 6. Binary search 7. Tree traversal* 8. Sorting algorithm 9. Dynamic programming* * marked as very important #programming #javaprogramming #techinterview #codinginterview #toptechinterview
we are using property file to store some organized data, like database url and connection username etc., reading from this property file is easy and useful myproperties.properties // my properties file name it`s contain name=katta vijay age=24 email=mail@javamix.net Main.java // to read data from property file package javamixposts; import java.io.*; import java.util.*; /** * *…
comm.jar should be placed in: %JAVA_HOME%/lib %JAVA_HOME%/jre/lib/ext win32com.dll should be placed in: %JAVA_HOME%/bin %JAVA_HOME%/jre/bin %windir%System32 javax.comm.properties should be placed in: %JAVA_HOME%/lib %JAVA_HOME%/jre/lib practice programs: serialport communication using Java http://javamix.wordpress.com/2009/01/21/sending-sms-using-serialport-communication-api/