262014Jul

Sometimes We Need A Kick To Slog

I use to think brain is most important organ of my body but wait a minute who is telling me this, again my brain so don’t always follow him. Here it is described by well know Author Chetan Bhagat Sometimes, I look back and wonder, how on earth did all this happen? I remember my days…

Read More
252014Jul

Process Steps When We Deploy Any Web Application On Server

When we are creating and deploying any web application on server, the following tasks happened on server side. Step 1:- web.xml parsed by using SAX Parser and stores in to memory. Step 2:- ServletContext object will be created and initialized by sevletContext parameter specified in web.xml. <context-param>………</context-param> Step 3:- Thread Pool will be created. Step 4:- Servlet…

Read More
232014Jul

Advance CakePHP Interview Questions

Here is the list of advance Cakephp interview questions that every Cakephp developer should know before going for interview. And here I am just giving overview of answers so for complete answers you should go through respective documentation. Question – How many different type of Cache CakePHP Supports? FileCache ApcCache Wincache XcacheEngine MemcacheEngine RedisEngine FileEngine is always…

Read More
222014Jul

Difference between init() & init(ServletConfig)

Question-What’s the difference between init() & init(ServletConfig) and Which is better ? Answer- Before start we have to understand the servlet flow. For example you have servlet LoginServlet which extends HttpServlet

And your HttpServlet internally extends GenericServlet.

Now servlet container flow Step 1. Loads the servlet class and create instance of the servlet…

Read More
172014Jul

JDBCConnectionException while deploying Ear Sterling OMS

ErrorCode=”com.sterlingcommerce.woodstock.util.frame.jdbc.JDBCConnectionException This is the most common error we get while deploying Sterling Ear in Jboss. So to solve this error go to following location. << Jboss Installation Folder >>/bin/run.bat and open run.bat in text editor. After that find JAVA_OPTS variable and replace that variable and its value with this line. set JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dvendor=shell -DvendorFile=<<sterling…

Read More
72014Jul
Cake PHP Url Rewriting

Cake PHP Url Rewriting

CakePHP Url Rewriting Some developers don’t like CakePhp Url structure because controller name should end with “s” and that cause a lot of dissatisfaction fro developers while developing with cakephp. For this CakePhp provides a simple and effective way to rewrite url in seo friendly way and according to client requirement. So how to write…

Read More
62014Jul

Dare to Do!!!

Dare to dream and you will find how aspiring the world is… Dare to start and you will find how beautiful beginning is… Dare to ask and you will find how less you know… Dare to say and you will find how strong your views are… Dare to share and you will find how caring…

Read More