Monday, February 4, 2008

Call Recorder For Se G700

04/02 Class Seen

Servlet ->
JSP -> Java Server Pages
MVC -> Model View Controller

The controller receives the request of the html, which is collected by a method and Returns a Vista (. Jsp) q contact Model (where we put dynamic information)
The view is one. jsp. From jsp how to talk to the model is through the $ sign} {05/02



If the application does not work and we know q happens:
- stopped the Tomcat
- ANT - > clean (deletes all compiled code)
- ANT -> undeploy (deletes the application server)
- ANT -> deploywar (deployed application)
- Earrings

Tomcat Development: Responding to a web application
1. New method in Driver and annotation indicating the web application and returning the name of the jsp.
2. Create the corresponding jsp.
3. Included in the model and access dynamic information from the jsp via $ {key}.


Installing Maven - maven Unzip the folder in C
- Modify the path variable enotrno without clear your path, add the path of our maven jdk and end with a, and \\ bin behind each q added.
example:% path% C: \\ Program Files \\ Java \\ jdk1.6.0_03 \\ bin, C: \\ Program Files \\ Java \\ jdk1.6.0_03 \\ bin, C: \\ apache-maven-2.0.8 \\ bin
- Create 2 new environment variables with the following routes:
JAVA_HOME: C: \\ Program Files \\ Java \\ jdk1.6.0_03
M2_HOME: C: \\ apache-maven-2.0.8
- Open the console and run it following: mvn - version
- Then open the configuration file this application to look at it, the file path is: C: \\ apache-maven-2.0.8 \\ conf and called settings.xml
In this file puts us where they will download all the libraries: Default: ~ / .m2/repository

Steps Maven and AppFuse:
1.
cd workspace 2. mvn archetype: create-DarchetypeGroupId = org.appfuse.archetypes-DarchetypeArtifactId = appfuse-basic-spring -DremoteRepositories = http://172.16.1.51/repository -DarchetypeVersion = 2.0.1-DgroupId = com.mycompany.app-DartifactId = myproject2
3. mvn eclipse: eclipse
4. mvn-Declipse.workspace = C: \\ tamara \\ j2ee eclipse: add-maven-repo
5. mvn install


Wednesday, January 30, 2008

Internal Error Memory Access Violation



MySQL is a management system database relational , multithreaded and multiuser more than six million installations. [ 1 ] MySQL AB develops MySQL free software on a dual licensing scheme. MySQL AB is part of Sun Microsystems since January 2008.

New Effective Veet Wax Strips

MySql Use Cases Polymorphism


In Java, polymorphism methods implemented with method overloading, methods with the same name and same number and type of arguments .

A variable can also be polymorphic , ie change its form or class of object reference during the execution of a program. The polymorphism of a variable in Java is limited so that a variable reference to an object can only specialize, just as in real life.

Example polymorphism method sings and the variable foo

class Person {

private String name;

protected String cancion;

public void canta(){System.out.println("la la la");}

} //End Persona

class Ladron extends Persona {

Private int earnings;

sings public void () {System.out.println ("I have not been");}

robs public void (int n) {earnings = earnings + n;}

} / / End Ladron

Judge class extends Person {

Public void sing () {System.out.println (" I am the law");}

} / / End Judge

Poli5 {public class

/ / example of polymorphism sings message

public static void main (String args [])

{

fulanito Person = new Person ();

= new little thief Thief Thief ();

Judge Judge juececito = new ();

fulanito.canta () ; / / sing a person

fulanito = Little thief;

fulanito.canta (); / / sing a thief

fulanito.roba (100);

/ / error compilation: foo is a Person. Solution?

foo = juececito;

fulanito.canta (); / / sing a judge

}

} / / End Poli5

Restriction polymorphism Java syntax: change to subclasses or specialization.

static type Verification: compile time.

Ron Pope Fireflies Klaviernoten



UML diagrams can be divided into static (add a static view of the system) and dynamic (make an eminently dynamic vision system).

static diagrams:

· use case diagram

· Class Diagram

· Object Diagram

· Component Diagram

· deployment diagram

PivotDiagrams:

· state diagram

· activity diagram

· interaction diagrams:

or sequence diagram

or
Collaboration Diagram

use case diagrams.

The use case diagrams show the functionality of the system from the perspective that users have and what the system must do to meet the proposed requirements. Behavior can show a full or part.


basic elements used are:

  1. Actors: Are different users and the role it plays within the system.

  1. Case use: They represent everything that the user can perform within the

  1. Relations: To associate the elements.

Communication


Generalization




Extension (*)




Inclusion (*)



(*) These two should also put the letters (include or exclude).

Example: