***********
themel:java notice
time:2016.7.6
authrer;andy
*****************
	---base type of java date: int /double/char/short  /long /boolean/byte/ float
	---q&a; 
	什么是变量?
	如何声明变量、给变量赋值和使用变量?
	Java中常用的数据类型有哪些?
	算术运算符中“/”和“%”的区别是什么?
	发生自动类型转换的条件是什么?
	如何进行强制类型转换?
	什么数据类型可以描述真和假?
	多重if条件结构和switch结构的区别和适用场合是什么?
   什么事构造方法
***********
theme:object 
time:2016.7.7
authrer;andy
*****************
	定义一个类的步骤:
			
1、定义类名
			
2、编写类的属性
3、编写类的方法
	
	构造方法:1、方法名与类名相同
2、没有返回类型
封装:
继承:(the father class)在 java 中,类可以继承自另一个类。衍生的类(子类)继承父类的方法和数据成员
	多态:	
____________________________________
 jdbc  connection:
   	1、加载驱动包
	2、导入java.sql包
	3、加载驱动
	4、创建链接
		
	5、获取执行SQL语句的对象
	6、检索数据库
   		--查询(不修改数据库的数据) executeQuery
  
   
  		 --增、删、改(修改数据库的数据) executeUpdate
   
 	7、查询时数据库的处理--处理结果集 ResultSet
 
 	8、各种资源关闭
*********************************************************************
____________________________________________	
学生管理系统:  step:1 创建  pakeage  com.etc. dao
			学生管理接口: 
public interface studentManage(){
publice boolean checkuser(String username, String userpw);
			 publice boolean Addstudent(Student student);
					//
				(String username, int age,String userpw.............);
publice boolean Findestudent(String username, int age,String userpw);
	
			}
					
				
			2. pakeage com.etc.entity 数据过大封装成Student类。
				 	 pulice class Studnet{}
                      / /ctrl+shift+o  导包auto
			3. interface 实现:
                                         com.etc.dao.impl  创建
		       4 。链接数据库;(+jsp  : 形成系统)
________________________________________________________
*********************************************************
数据库链接:
	1、加载驱动包
	2、导入java.sql包
	3、加载驱动
	 	--.Class.forName("com.my.jdbc.Driver");
		
		数据库链接是通过DriverManage来管理的。
		--connection conn =driverManage.getconnection(url,user,passwd);
	4、创建链接
		
	5、获取执行SQL语句的对象
	6、检索数据库
   		--查询(不修改数据库的数据) executeQuery
  
   
  		 --增、删、改(修改数据库的数据) executeUpdate
   
 	7、查询时数据库的处理--处理结果集 ResultSet
 
 	8、各种资源关闭
                         
*********************
theme:web project /tomcat+..
time:2016.7.7 afternoon
auther;andy
**********************
	note taking:	
	  error:404: cant find webpage.
		405:不允许此方法
		400:
 _____________________________
   
 	Web - INF:web information
  	WebRoot:  js/ html/ resource/
 ________________________________
   
  form 表单/
*************************
2016.7.8
*********************
/*
2017.7.8、/morning
review
*/
Jave: privimtive type of data / float /byte/char/integer/double/long/short/char/
	循环/数组/对象/封装/继承/包
	Circle writing.
	Jdbc connection
Set+interface
	A project for fundtion is not likely to write code. Design will spend more time .
	For example: you design a studentManageSystem  
	At first you should know the logic of the system .what kind of operation it will execute.
	What kind job it need to finish.
	Step1: create abstruct methond  declear interface  write those   StudentCheck()  
 	FondStudnt()................
	Asume all the those things is finished . Then you can run the program in the loacalhost
	The you can have a try in the web. 
	By using js/html/css/ you can write a dynamic page.
	You can find a model. Make some change to be what you want.
	Konwledge:
 	js/html/css/
**********************************
 
原文:http://www.cnblogs.com/a-n-dy/p/5767162.html