Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!

Sumeet Raheja

+ Follow
since Dec 01, 2004
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sumeet Raheja

Many Many Congratulations
12 years ago
Applets are part of J2EE components . Java Spec it clearly states

J2EE Components

J2EE applications are made up of components. A J2EE component is a self-contained functional software unit that is assembled into a J2EE application with its related classes and files and that communicates with other components. The J2EE specification defines the following J2EE components:

* Application clients and applets are components that run on the client.
* Java Servlet and JavaServer PagesTrademarked (JSPTrademarked) technology components are web components that run on the server.
* Enterprise JavaBeansTrademarked (EJBTrademarked) components (enterprise beans) are business components that run on the server.

J2EE components are written in the Java programming language and are compiled in the same way as any program in the language. The difference between J2EE components and "standard" Java classes is that J2EE components are assembled into a J2EE application, are verified to be well formed and in compliance with the J2EE specification, and are deployed to production, where they are run and managed by the J2EE server.
In EJB endpoint there are Session Bean which are stored in a Pool and invocation is done on any Bean which is free and available in the Pool so it is NOT multithreaded as for "n" number of request "n" number of Bean wll be used from the pool hence option <B>1</B> is true

For Servlet based endpoint , it is always One instance of servlet which handles "n" number of request so it is Multithreaded in nature hence option <B>4</B> is true
Many Many Congratulation .

A quick question Netbean IDE is it good for practice or you recommend any thing else on top of this
Represents various ways to identfy the same company for eg
If a company is identfy by Tax Number in a country and as My Company will have different Tax Number for different Countries so it will have different identification code. IdentifieBag will look something like this

<keyedReference tModelKey="India Tax Number" keyName="taxnumber" keyValue="222" />
<keyedReference tModelKey="UK Tax Number" keyName="taxnumber" keyValue="333" />


Represent to what category my company belongs to ,If my happen that my company falls into many category , say I have hotel it can fall under category of Hotel or Resturant. So it will be represented like this

<keyedReference tModelKey="BusinessTypeClassification" keyName="resturant" keyValue="222" />
<keyedReference tModelKey="CityClassification" keyName="hotel" keyValue="333" />

<B>So the main difference between IdentifierBag and CategoryBag is that the namesapce identified by tModel in a categoryBag points to predefined category (BusinessTypeClassification/CityClassification)while in IdentifierBag this is not predefined

In real life categories are NAICS/ISO 3166 /UNSPSC
Hi if u are are starter you can check Book on struts from Packet Publication , it is quite a pratical book to learn Strut step by Step , but if you want to have deep knowledge then you can go for Oreilly Struts book .

You can see reviews from the following site :

Sumeet Raheja
13 years ago
Hi I purchased SCBCD voucher(Nov 15 2005) in India for 6200 Rs , the actual cost is 7200 Rs, It is valid for 1 yr , Due to some personal reason I will not be able to give this certification . If any one is intrested in purchasing from me , do let me know

Sumeet Raheja
By using

SET means overriding existing value if exist else add value .
ADD means add value irrespective if name exist or not , if name did not exist creat name and add value to that name , If name Exist add one more value i.e NO overridding
Servlet Context is one per application with in one JVM , but in distributed application Servlet Context is per JVM. That means if one Application is distributed among two JVM then there will be 2 Servlet Context in total, one per JVM
Yes that Right ..Correct Answer is application and pageContext are only implicit object where one can store attribute , which will be availabe from any part of Application
New Session is created when you click on IE icon and new Window opens , If new window is open from the existing window by file->New->Window It has the same session as of parent window
Cleared SCJP and SCWCD , I want to give SCBCD , Can some please guid me how ot go about it .
thanks in Advance
I have gone through Head First Java and Head First EJB , I was really impressed by the content of these books ,So I have same expectation about Head First Patterns as well