• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
projectsgeek

ProjectsGeek

Download Mini projects with Source Code, Java projects with Source Codes

  • Home
  • Java Projects
  • C++ Projects
  • VB Projects
  • PHP projects
  • .Net Projects
  • NodeJs Projects
  • Android Projects
    • Project Ideas
      • Final Year Project Ideas
      • JSP Projects
  • Assignment Codes
    • Fundamentals of Programming Language
    • Software Design Laboratory
    • Data Structure and Files Lab
    • Computer Graphics Lab
    • Object Oriented Programming Lab
    • Assembly Codes
  • School Projects
  • Forum

ProjectsGeek

Java How to Program By – Paul Deitel and Harvey Deitel

April 22, 2012 by ProjectsGeek Leave a Comment

Java How to Program By -Paul Deitel and Harvey Deitel

 
Java How to Program By - Paul Deitel and Harvey Deitel 1
Java How to Program
 

 

Java How to Program series offers students with  deep Knowledge  of object-oriented programming concepts with live codes and programs which can boost concepts .
This Book covers both Java SE7 and SE6 . This books edition also contains some  OOD/UML 2 case studies  on developing  the software for an automated teller machine .
Book have  hundreds of complete working programs in java which are best for learning process . With these examples and programs you can have good Grip on Java Concepts .
Download E-Book from Below Link :
 
Java How to Program.zip
Size: 19713k
 

Other Projects to Try:

  1. Java for Programmers By -Paul Dietel and Harvey Dietel
  2. Data Structures in Java E-Book -Schaum’s Outlines of Data Structures
  3. Java Tutorial for beginners – Introduction to Java
  4. Java Programming from program analysis to program Design By -DS Malik
  5. 100+ Free Java mini projects with Source Code

Filed Under: E-Books

Data Structures in Java E-Book -Schaum’s Outlines of Data Structures

April 22, 2012 by ProjectsGeek Leave a Comment

Schaum’s Outlines of Data Structures with Java E-Books

 
 
Data Structures in Java E-Book -Schaum's Outlines of Data Structures 2
 
 
This can be used for learning java Data Structure from beginning , But for starting this book you need to have some basic concepts of Java . I will say some hands on Java language  , it contains overall 260 solved problems for good practice of Java Concepts .
It is one of the most famous books for Java Data structures in the World . Many Colleges and Universities also refer this Book as Refence books with their courses in Computer science and Engineering . So this Book is must Try for Students of Information Technology Branch and Computer science and engineering .
Download E-Book from Below Link :
 
Structures-with-Java-0071476989.zip
Size :5024k

Other Projects to Try:

  1. Java Programming from program analysis to program Design By -DS Malik
  2. Top 7 Free Datastructure E-Books to Read-Free E-book
  3. Java How to Program By – Paul Deitel and Harvey Deitel
  4. About
  5. Big Data Hadoop Projects Ideas

Filed Under: E-Books

How to Run Visual Basic Projects

April 19, 2012 by ProjectsGeek Leave a Comment

How to Run Visual Basic Projects





You can find Thousands of visual basic project on internet But half of project are in proper form to run other machines . Some of these project do not contains all files that are needed to run the project . Also new students are not able to run these projects , So I decided to write some steps involved in Running Visual Basic project .


To run Visual Basic Projects you need to make sure that your project contains “project.vbp” file which you have downloaded from here or from other Websites .


Now every project have database as backend for storing data related to project . So you should have access data or any other database tables with you for proceding . You can search project folder you have downloaded for database files or tables .


After having database file or Tables just create those tables in respective database and now your are ready for setting up project .


Steps involved in Running Visual Basic Project :

  • Open Visual Basic 6.0 .
  • Go to File ->Open Project then select File from project having extension “.vbp” .

How to Run Visual Basic Projects 3
Setting Up Vb Project 


  • It will take a while to load project and then your are Done .
  • Now your project have been successfully imported into Visual Basic environment .


How to Run Visual Basic Projects 4
Vb project Loaded Successfully 

  • You can Run your project from Top menu Run Button …Enjoy .

Other Projects to Try:

  1. Creation of activex document dll using visual basic and register it.
  2. Hospital Management System Visual Basic Project
  3. How to Run Java Projects
  4. Visual Basic Projects with source Code
  5. Calculator using Visual Basic

Filed Under: Download Visual Basic Projects

Banking Management System Project in Visual Basic with Source Code

April 19, 2012 by ProjectsGeek 67 Comments

Banking Management System Project in Visual Basic


Synopsis of Bank Management System 

The Domain “Banking Management System ” keeps the day by day tally record as a complete
banking. It can keep the information of Account type, account opening form, Deposit,
Withdrawal, and Searching the transaction, Transaction report, Individual account
opening form, Group Account. The exciting part of this project is; it displays Transaction
reports, Statistical Summary of Account type and Interest Information.


“Banking  Management System ” keeps the day by day tally record as a complete banking. It can keep the information of Account type, account opening form, Deposit, Withdrawal, and Searching the transaction, Transaction reports, Individual account opening form, Group
Account. The exciting part of this project is; it displays Transaction reports, Statistical
Summary of Account type and Interest Information.


Snapshots for Banking Management System in Visual Basic Project 

Banking Management System Project in Visual Basic with Source Code 5
Banking Management System Project in Visual Basic with Source Code 6

Banking Management System Project in Visual Basic with Source Code 7

Banking Management System Project in Visual Basic with Source Code 8

Banking Management System Project in Visual Basic with Source Code 9








Project Report Download 

Project Source Code Download 

Other Projects to Try:

  1. How to Run Visual Basic Projects
  2. Billing System Project using Visual Basic
  3. Visual Basic Projects with source Code
  4. Hospital Management System Visual Basic Project
  5. Insurance Management System Visual Basic Project

Filed Under: Download Visual Basic Projects

File Handling and IO Handling in Java Programming

April 18, 2012 by ProjectsGeek Leave a Comment

File Handling and IO Handling in Java Programming


This Java turorial basically focus on the File handling operation and IO portion if java programming . Till we have covered some of the Basic of Core java programming .


We will cover following topics during this part of java tutorial . 

  • File Handling in Java
  • IO Handling in Java

File Handling in Java


Files are the primary source and destination for data within most programs. File are also used for orgainising the data in file structures .


Java devotes a whole range of methods found in a class called File in the java.io package to perform these operation.


Constructor for Files 


Objects of the file class can be created using three types of File constructor.


File f1= new File (“c:\\java\\sample.txt”)
File f1= new File (“c:\\java”, “sample.txt”)
File f1= new File (“java”, “sample.txt”)


Methods of File Class


The method present in File class are :

  1. String getName();
  2. String getPath();
  3. String getParent();
  4. boolean exists()
  5. boolean isFile() 
  6. boolean isDirectory()

Other Methods of File Class

  1. boolean canRead()
  2. boolean canWrite() 
  3. boolean delete() 
  4. long lastModified()
  5. long length()
  6. String [] list()
  1. boolean mkdir()
  2. boolean renameTo (File dest) 

Streams in Java File Handling 


A Stream is a path of communication between the source of information and the destination.


Streams can be divided under three categories as follows :

  1. InputStream
  2. OutputStream
  3. Reader/Writer

Example 1


byte c;
c=(byte) System.in.read();
System.out.println (“Entered Character is ” );
System.out.println ((char )c);


Example 1 (modified)


byte c[]= new byte[10];
for (int i=0; i<10; i++)
c[i]=(byte) System.in.read();


System.out.println (“Entered Character is ” );
for (int i=0; i<10; i++)
System.out.println ((char )c[i]);
Example 1 (modified)
byte c[]= new byte[10];
for (int i=0; i<10; i++)
c[i]=(byte) System.in.read();


System.out.println (“Entered String  is ” );
System.out.write(c);




File Streams in Java 


There are various types of streams found in the java.io package

  1. FileInputStream
  2. FileOutputStream
  3. BufferedInputStream
  4. BufferedOutputStream
  5. BufferedReader
  6. BufferedWriter

Example 2


byte b[]= {65,66,67,68,65,66,67,68,65,66};


FileOutputStream f= new FileOutputStream (“c:\\abc.txt”);


for (int i=0;i<10; i++)
f.write(b[i]);


Example 2 (modified)




char c[]= {‘A’, ‘B’, ‘C’, ‘D’, ‘E’, ‘F’, ‘G‘};


FileOutputStream f= new FileOutputStream (“c:\\abc.txt”);


for (int i=0;i<5; i++)
f.write(c[i]);




Example 2 (modified)


FileInputStream f= new FileInputStream (“c://abc.txt”);


for (int i=0; i
System.out.print( (char) f.read());


Example 3


byte b[]= {65,66,67,68,65,66,67,68,65,66};
BufferedOutputStream f= new BufferedOutputStream( new FileOutputStream (“c:\\abc.txt”);
f.write(b);


Example 3 (Modified)


char c[]= {‘A”, ‘B’, ‘C’, ‘D’ };


BufferedOutputStream f= new BufferedOutputStream( new FileOutputStream (“c:\\abc.txt”);
f.write(c);


Example 4


To take String from User during the program . You can use bufferreader in java programs to take input from the user during the program execution .


So, here is the complete code to take input from user .


BufferedReader b= new BufferedReader( new InputStreamReader (System.in);
String str1= b.readLine();
————————-
String str2=b.readLine();
Example 4
To take Integer from User 
BufferedReader b= new BufferedReader( new InputStreamReader (System.in);
String str1= b.readLine();
Int a= Integer.parseInt (str1);
————————-
String str2=b.readLine();




Questions for Quick Revision 


Explain three different ways for creating File Object? 


Explain different ways for taking Input from the User?

Other Projects to Try:

  1. Threads in Java Tutorial for Beginners
  2. Java Programming from program analysis to program Design By -DS Malik
  3. To Perform File Handling in Java
  4. File Handling program using Java
  5. Implement Conflation Algorithm using File Handling in Java

Filed Under: Java Tutorials

SQL and JDBC(Java Database Connectivity) in Java

April 18, 2012 by ProjectsGeek Leave a Comment

SQL and JDBC(Java Database Connectivity)



This section of Java tutorial will deal with the connectivity of Java with databasis lik…MySql . Apart from connectivity we will discuss some basic concepts about Sql Language . 


For using SQL you can install MYsQL with its connector from official web Site of MySql here . You can use this Tutorial as source for connectiong database and Java applications .


Starting with the Topics that will be covered in this section of tutorial are :   

  • Introduction to SQL
  • DDL Statements
  • DML Statements
  • Relational Operators
  • JDBC Connectivity 

So , What is Sql ?


SQL is used to make a request to retrieve data from a database. Whenever you want to access data from database you should use Sql commands for this Purpose . 


On receiving the request, DBMS system processes that request by retrieving data from the database. This process of requesting data from a database is called  a database query and hence SQL.
A database query can be very simple to very complex query .


SQL Commands


Commanda under sql can divided into three sections as described Below 

  1. DDL Commands : Create, Alter, Drop, Truncate
  2. DML Commands : Insert, Update, Delete, Select
  3. DCL Commands : Grant, Revoke, Commit, Rollback.

Data Types


Now Discususing about Datatypes in Sql languge which will be very useful for making and executing the Queries for your requirements .


Char : Fixed Length Character String (Max range : 2000 bytes)
Varchar2(n) : Variable length Character String (Max range : 4000 bytes)
Long: Variable length Character String (max one column in a table) (Max range: 2GB)
Number (p, s): Numbers P for Precision and s for scale.
Date: Date and time (dd-mon-yy format)
Raw and Long Raw: Binary data


Object Naming Rules


Rules that must be followed for namimg conventions in Sql langauge are given below : 

  1. The first letter should be alphabet
  2. Oracle reserved words are not to be used.
  3. Maximum length 30 characters
  4. Only Underscore are allowed. 
  5. Not case sensitive.

More About SQL Commands 


Data Definition Language:

  1. Create : Create a new table
  2. Alter : Modify the existing table
  3. Drop : Drop a table
  4. Truncate : delete all rows from a table 

Create Table Command


If the user wants to create a new table you should use the following query  :

Create table  
(
datatype,
datatype,
datatype
);


Alter Table Command


If the user wants to add column to the existing table use the following query   :
Alter table add ( datatype);


If the user wants to modify column in the existing table use the following query  :
Alter table modify ( datatype);


If the user wants to drop column in existing table use the following query  : 
Alter table drop column :


Drop, Truncate Commands 


If the user wants to drop the table use :
drop table


If the user wants to delete all records from the table but not the table use :
truncate table


desc Command 


If the user wants to view the structure of the table use :
desc


Other SQL Commands  


Data Manipulation Language Commands :

  1. Insert : Insert data in a table
  2. select : Display data in table
  3. Update : Update data in a table
  4. Delete : delete data in a table

Insert Table Command


If the user wants to insert data in a table use:
insert into values ( , , …..);
insert into (, ) values 
( , );


Select Table Command


If the user wants to display data in a table use:
select * from ;
select distinct from ;
select , from ;


Update Table Command


If the user wants to modify data in a table use:
update set field= value where condition;


Delete Table Command


If the user wants to delete data in a table use:
     delete from ;
    delete from where


Rest of SQL Commands


Data/Transaction Control Language Commands:

  1. Commit: fully save
  2. savepoint: create a savepoint
  3. Rollback: Undo 
  4. Grant: Grant permission
  5. Revoke : Revoke permission

Commit Command


If the user wants to save all work done use:
Commit;

Savepoint Command


Savepoints are markers to divide a very lengthy transaction to smaller ones. They are used to identify a point in transaction to which we can later rollback;


Savepoint ;
Rollback
Undo the work done


Rollback;
Rollback to savepoint ;
Grant
Grant permission to other users use:


Grant all on to
Grant select, update on to


Revoke Command


Revoke permission from other users use:
Revoke all on from
Revoke select, update on from


SQL Operators in Sql Language 


Arithmetic Operators:
+    –    *   /
Comparison Operators
=    !=   <   >   <=   >=
between, not between, in, like, not like, is null, is not null
Logical Operators:
and,  not,  or 
Concatenation Operators
||
SQL Constraints
Not Null
Check
Unique
Primary
Foreign
On delete cascade




JDBC(Java Database Connectivity)   


It is a software layer that allows developers to write real client-server projects in Java. 
JDBC was designed to be a very compact, simple interface focusing on the execution of raw SQL statements and retrieving the results. 
The components of JDBC are Application, Driver manager and Driver.


JDBC Components


Application
Invokes methods to send SQL statements to the database and retrieve the results. 


Driver Manager
Loads specific drivers for the user application


Driver
Processes methods invocation, sends SQL statements to a data source & returns results-back to application.


JDBC Driver Models


Two Tier Model


Java Applications interact directly with the database. This type pf model is called as client-server configuration where user is the client and database machine is called as server. 


Three Tier Model


A middle tier is introduced, which is used to collect SQL from the client and handed over to the database and collect the results from the database and handed to the client. 


JDBC Vs. ODBC Important Differences


ODBC cannot be directly used with Java because it uses a C interface. ODBC makes use of pointers which have been totally removed from Java Langauge thats why ODBC cannot be used in Java.


ODBC requires manual installation of the ODBC driver manager and driver on all client machines. 


JDBC drivers are written in Java and JDBC code is automatically installable, secure and portable on all java platforms.

JDBC features 


The JDBC API defines a set of interfaces and classes to be used for communications with a database. These interfaces and classes are found in the java.sql package.


The results of the SQL statements are stored in ResultSet object and getXXX method used to retrieve the data from ResultSet. 


DSN(Data Source Name )


Types of DSN

  1. File DSN –  Accessibility is very low
  2. System DSN – Easy to access and by all users.
  3. User DSN –  Specific to a user but not portable.

Steps in Java Database Connectivity  

  1. Import the java.sql package
  2. Register the driver
  3. Connect to a database
  4. Create a statement
  5. Execute the statement
  6. Retrieve the results
  7. Close the statement and connection

Steps for SQL Commands (except select)




1. class.forName (”sun.jdbc.odbc.JdbcOdbcDriver”);
2. Connection c= DriverManager.getConnection (“Jdbc.odbc:DSN”);
3. Statement s = c.createStatement( );
4. s.executeUpdate (“ SQL INSERT/UPDATE”);
Steps Used for SELECT
1. class.forName (”sun.jdbc.odbc.JdbcOdbcDriver”);
2. Connection c= DriverManager.getConnection (“Jdbc.odbc:DSN”, “Username”, “Password”);
3. Statement s = c.createStatement( );
4. ResultSet rs =s.executeQuery (“ SQL INSERT/UPDATE”);


Steps Used for SELECT


5.
ResultSetMetaData rsmd =rs.getMetaData( );
int count =rsmd.getColumnCount( );
for(int j=0; j<=count; j++)
{
System.out.println(rsmd.getColumnName( j)+”\t”);
}


Steps Used for SELECT


6. while (rs.next( ) );
{
for(int j=0; j<=count; j++)
{
System.out.println( rs.getString( j)+”\t”);
}
}


7. s.close( );
8. c.close( );
ResultSet
execute();
returns boolean value.


executeUpdate();
Returns nothing. 


executeQuery();
Returns ResultSet (Applicable for select query)
Statement 
Statement s = c.createStatement(, );


First Parameters is 
TYPE_SCROLL_SENSITIVE
TYPE_SCROLL_INSENSITIVE
TYPE_FORWARD_ONLY (default)


Second parameters is
CONCUR_READ_ONLY (default)
CONCUR_UPDATABLE
ResultSet Methods
afterLast();
Cursor moves to the last record + 1


previous();
Cursor moves backward


absolute (int)
Cursor moves to absolute position


relative (int)
Cursor moves to relative position
ResultSet Methods
last();
Cursor moves to the last record


updateDouble(,
Update some Column Value


moveToInsertRow();
Row could be inserted.


updateRow() / insertRow();
Update/Insert all changes done above this function.
Example : 
ResultSet rs=s.executeQuery (“select * from student’);
rs.afterLast();
while (rs.previous( ) );
{
for(int j=0; j<=count; j++)
{
System.out.println( rs.getString( j)+”\t”);
}
}




Example : Update Values


ResultSet rs=s.executeQuery (“select * from student’);
rs.last();
rs.updateDouble (“Percentage”, 85.55);
rs.updateInt (“Marks”, 1255);
rs.updateRow();
Example : Insert Values
ResultSet rs=s.executeQuery (“select * from student’);
rs.moveToInsertRow();
rs.updateString (“Name”, “Amit”);
rs.updateDouble (“Percentage”, 85.55);
rs.updateInt (“Marks”, 1255);
rs.insertRow();
Batch Update 


A batch update is a set of multiple update/insert statements that is submitted to the database for processing as a batch.


addBatch (“SQL Query”);
Create a new Batch which is a set of multiple insert or update statements. 


Int executeBatch();
Execute the batch. 




Batch Update : Example


All insert Statement get executed or none of it executed. 

Statement s= c.createStatement();
s.addBatch (“Insert Statement – 1”);
s.addBatch (“Insert Statement – 2”);
s.addBatch (“Insert Statement – 3”);
s.addBatch (“Insert Statement – 4”);
s.addBatch (“Insert Statement – 5”);
s.executeBatch();




Questions for Revision of Above Topic?


What are different components of JDBC?
Differentiate between JDBC and ODBC.
Explain the concept of batch update in JDBC. 

Other Projects to Try:

  1. Database connectivity in Java with MYSQL
  2. Database Operations without pointers source code
  3. Write a program in Java for student details (Roll No, Name etc) to Access as a database and write the application in JDBC. (AWT or JFame).
  4. Student Database using Shell Programming OS problem
  5. SQL Workbench Project using Java

Filed Under: Java Tutorials

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 101
  • Page 102
  • Page 103
  • Page 104
  • Page 105
  • Interim pages omitted …
  • Page 135
  • Go to Next Page »

Primary Sidebar

Tags

.Net Projects Download Android Project Ideas Android Projects Angular 2 Assembly Codes C # Projects C & C++ Projects C++ Projects Class Diagrams Computer Graphics Database Project Data Mining Projects DataScience Projects Datastructure Assignments Download Visual Basic Projects Electronics project Hadoop Projects Installation Guides Internet of Things Project IOS Projects Java Java Interview Questions Java Projects JavaScript JavaScript Projects java tutorial JSON JSP Projects Mechanical Projects Mongodb Networking Projects Node JS Projects OS Problems php Projects Placement Papers Project Ideas Python Projects seminar and presentation Struts

Search this Website


Footer

Download Java Project
Download Visual Basic Projects
Download .Net Projects
Download VB Projects
Download C++ Projects
Download NodeJs Projects
Download School Projects
Download School Projects
Ask Questions - Forum
Latest Projects Ideas
Assembly Codes
Datastructure Assignments
Computer Graphics Lab
Operating system Lab
australia-and-India-flag
  • Home
  • About me
  • Contact Form
  • Submit Your Work
  • Site Map
  • Privacy Policy