Author: krishna
XSL or XSLT
by krishna
1.Test if the value of a certain node is empty Depends what you mean by empty. Contains no child nodes: not(node()) Contains no text content: not(string(.)) Contains no text other than whitespace: not(normalize-space(.)) Contains nothing except comments: not(node()[not(self::comment())]) 2. To match any node with no data. example: <field1>data</field1> <field2> </field2> How do I match field2’s…
Read MoreJava Server Pages
by krishna
· JSP Directives: Page Directive: Define & manipulate a number of important page dependent attributes that affect the whole JSP, & communications these attributes to the JSP container. <%@ page [ language = “java” ] [ extends = “package.class” ] [ import = “package.*” ] [ session = “true | false” ] [ buffer =…
Read MoreEnterprise Java Beans
by krishna
EJB architecture: is a component architecture for the development and deployment of component-based distributed business applications. An application written using the Enterprise JavaBeans architecture is Scalable Transactional Multi-user secure General Restrictions of EJB: EJB development places some restrictions on the developers for better component management and easier service. The restrictions include the following An enterprise…
Read Morejava.util
by krishna
Collection vs List vs Map vs Set Collection List Map Set Duplicate Elements Duplicate Elements No Duplicate Keys No Duplicate Elements Extends Collection Each key can map to 1 value Extends Collection HashMap vs HashTable vs HashSet vs TreeSet vs TreeMap HashMap HashTable HashSet TreeSet TreeMap Implements Map Implements Map Implements Set Implements SortedSet Implements…
Read Morejava.thread
by krishna
Definition A thread is a single sequential flow of control within a program. Runnable is implemented by class Thread. Being active simply means that a thread has been started and has not yet been stopped. Runnable provides the means for a class to be active while not subclassing Thread. A class that implements Runnable can…
Read MoreGoogle Maps Examples
by krishna
Created few examples and can be browsed here 1. Geocoder for an Address 2. Point Locations 3. Skin layer on Google Map 4. Location Information 5. Point Address on Map.html 6. Clickable Sidebar 7. Distance between 2 points 8. Map with Polygon 9. Driving Directions 10. AJAX Search
Read MoreArchitectural benefits of Spring
by krishna
Some of the benefits Spring can bring to a project: Spring can effectively organize the middle tier objects, whether or not choose to use EJB. Spring takes care of plumbing that would be left up to you if you use only Struts or other frameworks geared to particular J2EE APIs. And while it is perhaps…
Read MoreRecent Comments
Archives
- September 2025
- August 2025
- July 2025
- June 2025
- May 2025
- April 2025
- March 2025
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- February 2012
- January 2012
- December 2011
- October 2011
- August 2011
- July 2011
- May 2011
- January 2011
- November 2010
- October 2010
- September 2010
- July 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- August 2008
- July 2008
- June 2008
- December 2007
- April 2007
- January 2007