Saturday, May 5, 2012

Tips and Tricks

1. What is a Templating language?
More:
Velocity is a viable alternative to Java Server Pages (JSPs) or PHP - http://velocity.apache.org/engine/releases/velocity-1.5/user-guide.html
2. What is a Vortal (vertical portal)?
Different types of portals - http://en.wikipedia.org/wiki/Web_portal

4. What is a sticky session? -
Sticky session refers to the feature of many commercial load balancing solutions for web-farms to route the requests for a particular session to the same physical machine that serviced the first request for that session. This is mainly used to ensure that a in-proc session is not lost as a result of requests for a session being routed to different servers. Since requests for a user are always routed to the same machine that first served the request for that session, sticky sessions can cause uneven load distribution across servers.
5. What is Denial of Service?
Denial of service (DoS) usually refers to an attack that attempts to make a computer resource unavailable to its intended users by flooding a network or server with requests and data. It can also simply refer to a resource, such as e-mail or a Web site, that is not functioning as usual. Often, the denial is accidental rather than a planned attack, resulting from too many legitimate requests. However, malicious DoS attacks are still prevalent against network devices, and a newer breed of DoS attack targeted specifically at applications is becoming more and more common.

6. Are UNIX and Linux same?
Linux has never been certified as being a version of UNIX, so it is described as being "Unix-like." http://www.cyberciti.biz/faq/what-is-the-difference-between-linux-and-unix/

7. Load balancing -
Most commonly, the term load balancing refers to distributing incoming HTTP requests across Web servers in a server farm, to avoid overloading any one server. Because load balancing distributes the requests based on the actual load at each server, it is excellent for ensuring availability and defending against denial of service attacks.
More:
8. Is JSP technology considered to be a deprecated presentation technology?
JSP technology is considered to be a deprecated presentation technology for JavaServer Faces. Facelets is a part of the JavaServer Faces specification and also the preferred presentation technology for building JavaServer Faces technology-based applications (Source: http://docs.oracle.com/javaee/6/tutorial/doc/giepx.html)

8.Is there something like a super version of Java? - http://groovy.codehaus.org/
More:
Groovy Web Console: Guillaume Laforge, the project lead of the Groovy scripting language created a Groovy Web Console (http://groovyconsole.appspot.com/) which is public for all on Google's App Engine. It allows everybody to quickly try out some scripts.

No comments: