Author: krishna

Webservice 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 More

AJAX 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 More

JDK 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 More

DDL 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 More

DDL 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 More

javax.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 More

Rules 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 More

Apache 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 More

Hibernate

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

J2EE Patterns

J2EE Patterns In software engineering, a design pattern is a general repeatable solution to a commonly-occurring problem in software design. A design pattern isn’t a finished design that can be transformed directly into code; it is a description or template for how to solve a problem that can be used in many different situations. Object-oriented…

Read More