Latest News
DEBUG tomcat with eclipse
Whichever platform you are using (Tomcat or JBoss) you need to start them with the JPDA debugging enabled. For Tomcat this is very easy. In the $CATALINA_HOME/bin directory there is a script catalina.sh. If you provide the arguments ‘jpda start‘ tomcat will startup and listen on port 8000 for a debugger connection. The value of…
Read MoreWebservice call via ActionScript
I was using Flex the other day to consume some SOAP web services. However, I needed a way to invoke webservice in action script. I read almost all search pages from yahoo, live, ask, & google and I did not find solution. At last, I stated coding just like Java WebService test client and it…
Read MoreAJAX with DWR
The DWR (Direct Web Remoting) project is an open source solution under the Apache license for the developer who wants to use AJAX (Asynchronous JavaScript and XML) and XMLHttpRequest in an easy way. DWR helps you keep focused on how to improve your application’s interaction model, removing the burden that comes with coding and debugging…
Read MoreJDK 1.5 Language Enhancements
Overview Generics Enhanced for loop Autoboxing and auto-unboxing Typesafe enumerated types (enums) Variable arguments (varargs) Static imports Metadata – Annotations One of the main considerations in creating J2SE 5.0 was the ease of use for programmers. This slide lists some of the main changes to the language specification: Generics provides compile-time type checking and eliminate…
Read MoreDDL vs DML vs DCL vs TCL
DDL: Data Definition Language (DDL) statements are used to define the database structure or schema. Some examples: * CREATE – to create objects in the database * ALTER – alters the structure of the database * DROP – delete objects from the database * TRUNCATE – remove all records from a table, including all spaces…
Read MoreDDL vs DML vs DCL vs TCL
DDL: Data Definition Language (DDL) statements are used to define the database structure or schema. Some examples: * CREATE – to create objects in the database * ALTER – alters the structure of the database * DROP – delete objects from the database * TRUNCATE – remove all records from a table, including all spaces…
Read Morejavax.servlets
Life Cycle:lifecycle of a servlet contains the following stages Instantiation: Web container creates an instance of the servlet Initialization: Container calls the instances init() method if not called earlier. Service: If the container has a request for the servlet, it calls the servlet instances service() method. Destroy: Before destroying the instance, the container calls the…
Read MoreRules Engine
Sustaining changing business environment and remaining competitive is one of the biggest challenges faced by organizations today. Changes in competitive factors ultimately result in changes in business rules. Frequent changes to business rules increase the cost of maintenance, enhancement and customization: a problem seen across verticals. This calls for flexibility in administration and maintenance of…
Read MoreApache Struts
Summary Central controller mediates application flow Controller delegates to appropriate handler Handlers are tied to model components Model encapsulates business logic Control forwarded back through the controller to the appropriate view. Controller bundles and routes HTTP request to other objects in framework Controller parses configuration file Configuration file contains action mappings (determines navigation) Controller uses…
Read MoreHibernate
Hibernate is an open source object/relational mapping tool for Java. Hibernate lets you develop persistent classes following common Java idiom – including association, inheritance, polymorphism, composition and the Java collections framework. Hibernate not only takes care of the mapping from Java classes to database tables (and from Java data types to SQL data types), but…
Read More