programming languages

How to insert data in oracle using notepad?

Posted on

JDBC connectivity in java
Database connectivity in java with oracle

import java.sql.*;
import java.util.Scanner;
class Employee
{
public static void main(String args[])
{
Scanner s=new Scanner(System.in);
String url=”jdbc:oracle:thin:@localhost:1521:xe”;
String user=”system”;
String password=”password of oracle”;
int i;
try
{
DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
Connection con=DriverManager.getConnection(url,user,password);
Statement st=con.createStatement();
String sql=”select * from emp”;
ResultSet rs=st.executeQuery(sql);
while(rs.next())
{
System.out.println(rs.getString(1)+”\t”+rs.getInt(2)+”\n”+rs.getString(3));
}
}
catch(Exception ex)
{
System.out.println(ex);
}
}
}

This blog written by Jitendra Kumar a good Java Trainer at Vtech Academy of Computers – Best JAVA Training Institute

Advertisements

7 Important Tips to know before Developing a Mobile App

Posted on Updated on

Here’s what we think is necessary for you to know before you attempt to develop mobile apps.

app developement

1:- Create an Experience: Now the human life is based on living on experiences and its experiences that derive our mood, state of mind also demand. Your idea whether old or new behind the app, should always create a positive experience and that alone is quite enough to get things rolling for your fame.

2:- Understand the Process: Assuming developing apps isn’t what you have been doing for quite some time now; it’s time to elaborate the basic plan.

3:- Project Idea: The basic idea of the app or the experience you want to cater.

4: Design (Wireframe & Visual Design): Giving your idea a proper structure and visual portfolio.

5:- Architecture: Deciding which platform to work on, there is basically three major industry leading platform namely Android (Google), IOS (Apple) and Windows (Microsoft).

6:- Programming: Once the platform is shortlisted the programming is to be taken into mind. Every platform requires separate from and method of programming and coding. The language is different also every implementation.

7:- Validation: Once the coding and designing is complete the prototype app requires to be tested on the basis of its primary function and requires evaluating errors and hurdles and needs time testing.