Tuesday, October 20, 2009
rap eCLIPSE
http://74.125.113.132/search?q=cache:svDuZQuz0lkJ:lomboz.ow2.org/eclipsist/2007/presentations/Jochen_Krause_Eclipse_RAP.pdf+eclipse+RAP]&cd=95&hl=en&ct=clnk&gl=us&client=firefox-a
Sunday, October 18, 2009
Pass by value
/* * To change this template, choose Tools Templates * and open the template in the editor. */
/** * * @author vramali1 */public class NewClass { private int i=0; private int j=0; public void bn(NewClass g) { System.out.println(g.i); System.out.println(g.j); g.i=45; g.j=56;
} public static void main(String args[]) { NewClass n=new NewClass(); n.i=1; n.bn(n); System.out.println(n.i); System.out.println(n.j); }}
/** * * @author vramali1 */public class NewClass { private int i=0; private int j=0; public void bn(NewClass g) { System.out.println(g.i); System.out.println(g.j); g.i=45; g.j=56;
} public static void main(String args[]) { NewClass n=new NewClass(); n.i=1; n.bn(n); System.out.println(n.i); System.out.println(n.j); }}
JPA advantages
Java Persistence API
http://java.sun.com/developer/technicalArticles/J2EE/jpa/
- provide a light-weight POJO persistence API for object/relational mappining.
- Support for improved object modeling,
- Inheritance,
- Polymorphism,
- Expanded query language, and
- Rich metadata for the specification of object/relational mapping.
http://java.sun.com/developer/technicalArticles/J2EE/jpa/
Subscribe to:
Posts (Atom)