Posts

Java Excel

http://www.vogella.com/tutorials/JavaWebTerminology/article.html http://www.javabeat.net/difference-servlet-jsp/ http://www.differencebetween.net/technology/difference-between-jsp-and-servlet/ Enviroment File . /a01/oracle/PRODERP/apps/apps_st/appl/APPSPRODERP_oracleapps.env JAVA OC4J Properties (configuration file) /a01/oracle/PRODERP/inst/apps/CRP2_erpdev1/ora/10.1.3/j2ee/oacore/config 10.1.3 for webserver Context file (total configuration), port number, dbc file location /a01/oracle/PRODERP/inst/apps/CRP2_erpdev1/appl/admin All Jsp Files /a01/oracle/PRODERP/apps/apps_st/comn/webapps/oacore/html ...
public void intEmployee(String empName,String empId) { String voName="DynamicVO"; OAViewObject vo = (OAViewObject) findViewObject(voName); Number empNum = null; try { empNum = new Number(empId); } catch(Exception e) { } if (vo != null) { vo.setWhereClause(null); vo.setWhereClauseParams(null); if(!empName.equals("") && !empId.equals("") ) { String s1 = " EMPLOYEE_ID = "+empNum+" AND "+" UPPER(EMPLOYEE_NAME) LIKE "+"UPPER("+"'"+empName+"'"+")";  vo.setWhereClause(s1); } else if(!empName.equals("")) { String s2 = " UPPER(EMPLOYEE_NAME) LIKE "+"UPPER("+"'"+empName+"'"+")";  vo.setWhereClause(s2); } else if(!empId.equals("")) { String s3 = " EMPLOYEE_ID = "+ empNum; vo.setWhereClause(s3); } } vo.executeQuery(); } public...

Lynda Java

STATIC MEANS will call it from class not from instance of the class. every thing is an object you will be placing code inside class definition. And wraping that code inside function called methods. executable code is inside the main method. public class SimpleApplication { public static void main(String[] args {System.out.println("Hello Worls!"); } } here tha name of the class is simple application. It has single method or function called main, and returns void or nothing. in this version of application there are 2 classes. public class Simple Application { public static void main(String[] args) { Welcomer welcomer = new Welcomer(); welcomer.sayHello(); } } puclic class Welcomer { private String welcome= "Hello"; public void sayHello() {System.out.println(welcome); } }  Starting Class is called simple application. because its the one with the main method. And as the application starts the main...