Difference between String/String Buffer/String Builder

Jun 22nd, 20111 Comment

String

    Immutable Object
    It contains non-synchronized methods

String Buffer

    Mutable Object
    It contains synchronized methods

String Builder(from 1.5)

    Mutable Object
    It contains non-synchronized methods
VN:F [1.9.10_1130]
Rating: 10.0/10 (3 votes cast)
VN:F [1.9.10_1130]
Rating: +4 (from 4 votes)

PHP Ldap Integration

Jun 17th, 2011No Comments

Ldap is a Lightweight Directory Access Protocol Through which we can access the Active Directory of a windows server .

First you need to enable the php_ldap,dll extension in php.ini file then you can start accessing the Active Directory data From a server ..

Download

VN:F [1.9.10_1130]
Rating: 9.8/10 (4 votes cast)
VN:F [1.9.10_1130]
Rating: +4 (from 4 votes)

Zend Framework vhost settings

Jun 14th, 2011No Comments

Zend Framework vhost settings for xampp server or lampp server

Add the below code in  httpd-vhosts.conf in \xampp\apache\conf\extra  and modify the paths

<VirtualHost *:8081>
 php_value include_path ".;C:\xampp\htdocs\public;C:\xampp\htdocs\PhpProject2\library"
 DocumentRoot "C:\xampp\htdocs\PhpProject2\public"
 <Directory "C:\xampp\htdocs\PhpProject2">
 AllowOverride All
 Order allow,deny
 Allow from all
 </Directory>
</VirtualHost>

and then add Listen 8081 in httpd.conf file located at xampp\apache\conf

and restart your xampp server ..

VN:F [1.9.10_1130]
Rating: 10.0/10 (3 votes cast)
VN:F [1.9.10_1130]
Rating: +2 (from 2 votes)

Hello World program in Struts 2.0

May 28th, 2011No Comments
Hello World Application

Here we will see how to create a simpe Struts 2 Hello World Application. The following files are needed to create a Hello World Application.

  • web.xml
  • struts.xml
  • HelloWorld.java
  • index.jsp
  • success.jsp

(more…)

VN:F [1.9.10_1130]
Rating: 9.0/10 (4 votes cast)
VN:F [1.9.10_1130]
Rating: +2 (from 2 votes)
Page 7 of 10« First...«56789»...Last »