As New Age firms dole out fatter salaries to attract the most skilled employees, companies need to strengthen their work environment, increase their staff engagement and reward policies, to hold on to talent.
A war of talent is raging between the New Age companies and established organisations. These startups are not only changing the placements scenario in top B-schools, they are also hiring from leading banks and consulting firms by offering fatter pay checks.
“Well-funded organisations are offering better salaries and also getting good talent. This is happening in all the New Age industries including e-commerce,” Amit Sinha, VP – business planning and people, of mobile commerce firm Paytm.
“The toughest challenge facing most new technology companies these days isn’t getting funded — it’s hiring the best, most skilled employees,” Anjli Jain, founder of mobile app platform Kryptos Mobile, said and added that aggressive venture capital funded IT/ITES startups like Ola and Flipkart were offering fatter salaries, stock options and unique perks to lure and retain the best talent in India. This trend which is happening in the e-commerce and tech startup sector, is not limited to this space only and had also happened in aviation, telecom, insurance, retail and social sector as well a few years ago.
“There is definitely an increase in the average salary offered to the employees. As per my understanding, there has been around 30 to 40 per cent increase in average salary. And the biggest reason for this is the aggressive goals of the funded startups combined with the availability of funds,” Aristotle Consultancy co-founder Deepak Dhamija said.
Friday, October 16, 2015
Thursday, October 15, 2015
Advanced Servlet Interview Questions and Answers
1. How to set values in HTTP Session?
We can set values in session object using setAttribute() method of the HTTPSession interface.
HTTPSession session = request.getSession();session.setAttribute(String attributeName, Object value);
Let's take a web mail application where user Name and location are stored.
HTTPSession session = request.getSession();session.setAttribute(“User”,”Tim”);session.setAttribute(“Location”,”Bangalore”);
2. How to retrieve attributes from session?We can retrieve attributes from the session object using getAttribute() method of the HTTPSession interface.HTTPSession session = request.getSession();Object var = session.getAttribute(String attributeName);Taking a web mail application where user Name and location are stored and retrieving the values.HTTPSession session = request.getSession();String userName = (String)session.getAttribute(“User”);String location = (String)session.getAttribute(“Location”);3. How to remove attributes from session?Values can be removed from the session object using removeAttribute() method of the HTTPSession interface.HTTPSession session = request.getSession();session.removeAttribute(String attributeName);Example: Taking a web mail application where user Name and location are stored. Assume we need to remove the userName attribute “Tim” from the session, the following API needs to be fired on HTTP request object.HTTPSession session = request.getSession();session.removeAttribute(“User”);4. How to invalidate a session?Session invalidating is the process of unbinding the session object from the user thereby removing all the previously stored data in the session and freeing the memory. To invalidate a session we call the invalidate() method.5. When session invalidate() method is used?This is typically used when user logs off from a web application to free up the memory utilized by the session object.HTTPSession session = request.getSession();Session.invalidate();
Wednesday, October 14, 2015
EJB Interview Questions and Answers
8. Explain briefly about the EJB components ?
- EJB Container : It provides runtime environment for the EJB components and services, such as Life cycle management, connection pooling and security.
- EJB Component : It is a java class that follows the Enterprise Java Bean specification to implement the business logic of an application. Enterprise Java Bean components are deployed in container and are accessed using the remote and home interfaces of an enterprise bean.
- EJB Object : Enterprise Java Bean container generates Enterprise Java Bean object, when a client needs to access an instance of the enterprise java bean. The Enterprise Java Bean object acts as an interface between the client and bean instances.
- Remote Interface : It declares methods, which an enterprise bean provides to clients in order to enable them to perform business operations.
- Home Object : Home objects are generated by Enterprise Java Bean container. Clients access Enterprise Java Bean objects that are stored at different java virtual machine, using the home object.
Task performed by EJB Object
- Creating EJB objects
- Searching EJB Objects
- Removing EJB Objects
EJB Interfaces
- Home Interface : It declares the various life cycle methods that involve operations, such as creating, finding, removing enterprise beans.
- Local Interface : These are used when the enterprise bean and the client machine are stored in the same JVM.
9. what are the system services provided by EJB container?
Container provides system services such as:
- Persistence
- Security
- Transaction
- Connection pooling
- Component lifecycle management
- Threading
10. Mention the steps to call a remote method in EJB?
- The client calls a local stub that is an object of the remote interface.
- The stub marshals the parameters of the message into a form that can be sent over the network.
- The call is sent over the network connection to the skeleton that is present at the server.
- The skeleton demarshals the parameter in a form suitable for calling the EJB object.
- The skeleton calls the EJB object that provides the middleware services, such as transaction and security.
- The EJB object calls the instance of enterprise bean.
- The Enterprise bean instance performs the tasks that are defined in the called method.
Subscribe to:
Posts (Atom)