Class Room 101 Class 00002 Rakesh Mittal

   

Date February 25, 2008

JDBC Connection Pooling

http://www.javaranch.com/journal/200601/JDBCConnectionPooling.html   Sample code is included.

http://java.sun.com/developer/technicalArticles/J2EE/pooling/ 

Q. What is javax?

Q. What is JNDI?

http://www.jguru.com/faq/view.jsp?EID=10852    Java Naming and Directory Interface (JNDI).

http://safari.oreilly.com/0130449156/ch07lev1sec2

NetBeans IDE Connecting to Database

http://www.netbeans.org/kb/50/using-netbeans/dbconn.html#pgfId-1156774

Tutorials on PHP

http://www.w3schools.com/php/default.asp

Explain the following section of code 

require( dirname(__FILE__) . '/wp-config.php' );

$action = $_REQUEST['action'];
$errors = array();

if ( isset($_GET['key']) )
$action = 'resetpass';

nocache_headers();

header('Content-Type: '.get_bloginfo('html_type').'; charset='.get_bloginfo('charset'));

if ( defined('RELOCATE') ) { // Move flag is set
if ( isset( $_SERVER['PATH_INFO'] ) && ($_SERVER['PATH_INFO'] != $_SERVER['PHP_SELF']) )
$_SERVER['PHP_SELF'] = str_replace( $_SERVER['PATH_INFO'], '', $_SERVER['PHP_SELF'] );

$schema = ( isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on' ) ? 'https://' : 'http://';
if ( dirname($schema . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) != get_option('siteurl') )
update_option('siteurl', dirname($schema . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) );
}

//Set a cookie now to see if they are supported by the browser.
setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN);
if ( SITECOOKIEPATH != COOKIEPATH )
setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN);

Solutions

 

 

 

PHP

http://www.cagedflame.com/index.php?name=phpprogramming.php  php programming

http://www.cagedflame.com/index.php?name=understandsessions.php  Sessions in php

Cascading Style Sheets

http://www.cagedflame.com/index.php?name=redefinetagscss.php Redefine tags and create classes with css 

 

http://www.talend.com/download.php?kid=80228195306969527&src=GoogleAdwords_US

Servlet Source Code Example

http://www.yolinux.com/TUTORIALS/LinuxTutorialTomcat.html

http://www.yolinux.com/TUTORIALS/LinuxTutorialJava.html#MIDDLEWARE  Java on Linux 

Struts

http://struts.apache.org/

http://struts.apache.org/primer.html   Key Technologies Primer  

http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/J2eeTutorialTOC.html  J2EE Tutorial

Q. What are J2EE EAR Files?

Answer: http://java.sun.com/j2ee/sdk_1.2.1/techdocs/guides/ejb/html/Overview5.html     Contents of a J2EE Application 

J2EE application = EJBs + Web components + J2EE application clients

Development Phases of J2EE Applications

  1. Enterprise Bean Creation
  2. Web Component Creation
  3. J2EE Application Client Creation 
  4. J2EE Application Assembly
  5. J2EE Application Deployment

JavaServer PagesTM Components

http://java.sun.com/j2ee/sdk_1.2.1/techdocs/guides/ejb/html/Client5.html#12175

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 © Copyright 2000 -2008, All Rights Reserved, Mittal Institute of Technology & Science