Creating a Test Suite
http://open.ncsu.edu/se/tutorials/junit/
Wednesday, February 11, 2009
Wednesday, December 24, 2008
squirel sql
To get a connection to the database
Name: Give any name
Driver:Mysql Driver
URL:jdbc:mysql://local host:port no/database name
User:root
Password:give the required pasword.
Before adding alias,add Mysql driver
Right click mysql driver->extra class path add mysql.jar
(mysql.jar added externally)
then give ok.
Name: Give any name
Driver:Mysql Driver
URL:jdbc:mysql://local host:port no/database name
User:root
Password:give the required pasword.
Before adding alias,add Mysql driver
Right click mysql driver->extra class path add mysql.jar
(mysql.jar added externally)
then give ok.
cvs
To do the checkout process in windows:
Before start checking out in windows system,the directory must be configured in the cvs by the cvs admin.
The file must be marked as binary in the cvs
To mark a file as binary:
cvs admin -kb name_of_binary_file
Before start checking out in windows system,the directory must be configured in the cvs by the cvs admin.
The file must be marked as binary in the cvs
To mark a file as binary:
cvs admin -kb name_of_binary_file
Wednesday, December 17, 2008
mysql
1)To know the instances that are running
mysqld_multi report
2)To start the instance
mysqld_multi start
3)To use the database in the instance
mysql -u demouser -p -h 192.168.1.88 -P 4007 qamart;
mysqld_multi report
2)To start the instance
mysqld_multi start
3)To use the database in the instance
mysql -u demouser -p -h 192.168.1.88 -P 4007 qamart;
Tuesday, December 16, 2008
To run the process in tomcat server
1)Run the build.xml in the program
when u run a war file will be created in a folder.
ex:yumeetl.war will be created in the folder temp
2)Copy the war file and paste in the webapps folder
3)edit the log4configuration.xml whether the path is correctly denoted.
file:/home/sathish/tomcat/webapps/yumeetl/WEB-INF/classes/log4configuration.xml
4)copy and paste yumeetl.xml to /home/sathish/tomcat/conf/Catalina/localhost
5)edit server.xml whether url value is correct
6)Start the tomcat server
To start the process
execute queries in qadb.
truncate table and insert in QRTZ_TRIGGERS, QRTZ_CRONTRIGGERS, QRTZ_JOBDETAILS
update QRTZ_TRIGGERS,
To view log tail -100f yumeappserver.log
To remove rm*.
when u run a war file will be created in a folder.
ex:yumeetl.war will be created in the folder temp
2)Copy the war file and paste in the webapps folder
3)edit the log4configuration.xml whether the path is correctly denoted.
file:/home/sathish/tomcat/webapps/yumeetl/WEB-INF/classes/log4configuration.xml
4)copy and paste yumeetl.xml to /home/sathish/tomcat/conf/Catalina/localhost
5)edit server.xml whether url value is correct
6)Start the tomcat server
To start the process
execute queries in qadb.
truncate table and insert in QRTZ_TRIGGERS, QRTZ_CRONTRIGGERS, QRTZ_JOBDETAILS
update QRTZ_TRIGGERS,
To view log tail -100f yumeappserver.log
To remove rm*.
TOMCAT
TO START TOMCAT
1)Go to tomcat/bin.
2)Set environment variables
a) export JAVA_HOME=/usr/java/jdk1.6.0_03/
b)export CATALINA_HOME=/usr/local/tomcat
3)Enter the command to start
./startup.sh
1)Go to tomcat/bin.
2)Set environment variables
a) export JAVA_HOME=/usr/java/jdk1.6.0_03/
b)export CATALINA_HOME=/usr/local/tomcat
3)Enter the command to start
./startup.sh
Friday, October 31, 2008
JavaServer Faces
JavaServer Faces (JSF) is a Java-based Web application framework intended to simplify development of user interfaces for Java EE applications. Unlike other traditional request-driven MVC web frameworks, JSF uses a component-based approach. The state of UI components is saved when the client requests a new page and then is restored when the request is returned. Out of the box, JSF uses JavaServer Pages (JSP) for its display technology, but JSF can also accommodate other display technologies (such as XUL). JSF includes:
- A set of APIs for representing user interface (UI) components and managing their state, handling events and input validation, converting values, defining page navigation, and supporting internationalization and accessibility
- A default set of UI components
- Two JavaServer Pages (JSP) custom tag libraries for expressing a JavaServer Faces interface within a JSP page.
- A server-side event model
- State management
- Managed Beans (JavaBeans created with dependency injection)
Subscribe to:
Posts (Atom)