Friday, November 4, 2011
Sunday, October 16, 2011
Marker interfaces in java
In java language programming, interfaces with no methods are known as marker interfaces. Marker interfaces are Serializable, Clonable, SingleThreadModel, Event listener. Marker Interfaces are implemented by the classes or their super classes in order to add some functionality.
Sunday, September 25, 2011
what you mean by publishing a webservice?
In Java, a web service is implemented as a class that resides on a server—it’s not part
of the client application.Making a web service available to receive client requests is known as publishing a web service; using a web service from a client application is known as consuming a web service.
of the client application.Making a web service available to receive client requests is known as publishing a web service; using a web service from a client application is known as consuming a web service.
what is web service host?
The machine on which a web service resides is referred to as a web service host. The client application sends a request over a network to the web service host, which processes the request and returns a response over the network to the application.
what is SOAP?
Simple Object Access Protocol (SOAP)—an XML-based protocol that allows web services and clients to communicate,even if the client and the web service are written in different languages
what is a web service?
A web service is a software component stored on one computer that can be accessed by an application (or other software component) on another computer over a network
Sunday, September 18, 2011
if javascript is never defined
case 1:
=================
case 2:
========
we see alert box : undefined
case 3
===============
we see alert box "undefined"
case 4
===============
No error. Alert box shows undefined
Case 5
============
var a;
if(null==a)
alert("its null");
else
alert("its not null");
Ans: Its Null
case 6
==========
if(null==a)
alert("its null");
else
alert("its not null");
Ans: error , a is not defined
Case 7
==============
var a;
alert(a);
if(null==a)
alert("its null");
else
alert("its not null");
Ans: alert box "undefined"
its null
=================
case 2:
========
we see alert box : undefined
case 3
===============
we see alert box "undefined"
case 4
===============
No error. Alert box shows undefined
Case 5
============
var a;
if(null==a)
alert("its null");
else
alert("its not null");
Ans: Its Null
case 6
==========
if(null==a)
alert("its null");
else
alert("its not null");
Ans: error , a is not defined
Case 7
==============
var a;
alert(a);
if(null==a)
alert("its null");
else
alert("its not null");
Ans: alert box "undefined"
its null
Thursday, September 1, 2011
Two letter country codes
Technical contents of ISO 639:1988 (E/F)
"Code for the representation of names of languages".
Typed by Keld.Simonsen@dkuug.dk 1990-11-30
Minor corrections, 1992-09-08 by Keld Simonsen
Sundanese corrected, 1992-11-11 by Keld Simonsen
Telugu corrected, 1995-08-24 by Keld Simonsen
Hebrew, Indonesian, Yiddish corrected 1995-10-10 by Michael Everson
Inuktitut, Uighur, Zhuang added 1995-10-10 by Michael Everson
Sinhalese corrected, 1995-10-10 by Michael Everson
Faeroese corrected to Faroese, 1995-11-18 by Keld Simonsen
Sangro corrected to Sangho, 1996-07-28 by Keld Simonsen
Two-letter lower-case symbols are used.
The Registration Authority for ISO 639 is Infoterm, Osterreichisches
Normungsinstitut (ON), Postfach 130, A-1021 Vienna, Austria.
aa Afar
ab Abkhazian
af Afrikaans
am Amharic
ar Arabic
as Assamese
ay Aymara
az Azerbaijani
ba Bashkir
be Byelorussian
bg Bulgarian
bh Bihari
bi Bislama
bn Bengali; Bangla
bo Tibetan
br Breton
ca Catalan
co Corsican
cs Czech
cy Welsh
da Danish
de German
dz Bhutani
el Greek
en English
eo Esperanto
es Spanish
et Estonian
eu Basque
fa Persian
fi Finnish
fj Fiji
fo Faroese
fr French
fy Frisian
ga Irish
gd Scots Gaelic
gl Galician
gn Guarani
gu Gujarati
ha Hausa
he Hebrew (formerly iw)
hi Hindi
hr Croatian
hu Hungarian
hy Armenian
ia Interlingua
id Indonesian (formerly in)
ie Interlingue
ik Inupiak
is Icelandic
it Italian
iu Inuktitut
ja Japanese
jw Javanese
ka Georgian
kk Kazakh
kl Greenlandic
km Cambodian
kn Kannada
ko Korean
ks Kashmiri
ku Kurdish
ky Kirghiz
la Latin
ln Lingala
lo Laothian
lt Lithuanian
lv Latvian, Lettish
mg Malagasy
mi Maori
mk Macedonian
ml Malayalam
mn Mongolian
mo Moldavian
mr Marathi
ms Malay
mt Maltese
my Burmese
na Nauru
ne Nepali
nl Dutch
no Norwegian
oc Occitan
om (Afan) Oromo
or Oriya
pa Punjabi
pl Polish
ps Pashto, Pushto
pt Portuguese
qu Quechua
rm Rhaeto-Romance
rn Kirundi
ro Romanian
ru Russian
rw Kinyarwanda
sa Sanskrit
sd Sindhi
sg Sangho
sh Serbo-Croatian
si Sinhalese
sk Slovak
sl Slovenian
sm Samoan
sn Shona
so Somali
sq Albanian
sr Serbian
ss Siswati
st Sesotho
su Sundanese
sv Swedish
sw Swahili
ta Tamil
te Telugu
tg Tajik
th Thai
ti Tigrinya
tk Turkmen
tl Tagalog
tn Setswana
to Tonga
tr Turkish
ts Tsonga
tt Tatar
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
vo Volapuk
wo Wolof
xh Xhosa
yi Yiddish (formerly ji)
yo Yoruba
za Zhuang
zh Chinese
zu Zulu
"Code for the representation of names of languages".
Typed by Keld.Simonsen@dkuug.dk 1990-11-30
Minor corrections, 1992-09-08 by Keld Simonsen
Sundanese corrected, 1992-11-11 by Keld Simonsen
Telugu corrected, 1995-08-24 by Keld Simonsen
Hebrew, Indonesian, Yiddish corrected 1995-10-10 by Michael Everson
Inuktitut, Uighur, Zhuang added 1995-10-10 by Michael Everson
Sinhalese corrected, 1995-10-10 by Michael Everson
Faeroese corrected to Faroese, 1995-11-18 by Keld Simonsen
Sangro corrected to Sangho, 1996-07-28 by Keld Simonsen
Two-letter lower-case symbols are used.
The Registration Authority for ISO 639 is Infoterm, Osterreichisches
Normungsinstitut (ON), Postfach 130, A-1021 Vienna, Austria.
aa Afar
ab Abkhazian
af Afrikaans
am Amharic
ar Arabic
as Assamese
ay Aymara
az Azerbaijani
ba Bashkir
be Byelorussian
bg Bulgarian
bh Bihari
bi Bislama
bn Bengali; Bangla
bo Tibetan
br Breton
ca Catalan
co Corsican
cs Czech
cy Welsh
da Danish
de German
dz Bhutani
el Greek
en English
eo Esperanto
es Spanish
et Estonian
eu Basque
fa Persian
fi Finnish
fj Fiji
fo Faroese
fr French
fy Frisian
ga Irish
gd Scots Gaelic
gl Galician
gn Guarani
gu Gujarati
ha Hausa
he Hebrew (formerly iw)
hi Hindi
hr Croatian
hu Hungarian
hy Armenian
ia Interlingua
id Indonesian (formerly in)
ie Interlingue
ik Inupiak
is Icelandic
it Italian
iu Inuktitut
ja Japanese
jw Javanese
ka Georgian
kk Kazakh
kl Greenlandic
km Cambodian
kn Kannada
ko Korean
ks Kashmiri
ku Kurdish
ky Kirghiz
la Latin
ln Lingala
lo Laothian
lt Lithuanian
lv Latvian, Lettish
mg Malagasy
mi Maori
mk Macedonian
ml Malayalam
mn Mongolian
mo Moldavian
mr Marathi
ms Malay
mt Maltese
my Burmese
na Nauru
ne Nepali
nl Dutch
no Norwegian
oc Occitan
om (Afan) Oromo
or Oriya
pa Punjabi
pl Polish
ps Pashto, Pushto
pt Portuguese
qu Quechua
rm Rhaeto-Romance
rn Kirundi
ro Romanian
ru Russian
rw Kinyarwanda
sa Sanskrit
sd Sindhi
sg Sangho
sh Serbo-Croatian
si Sinhalese
sk Slovak
sl Slovenian
sm Samoan
sn Shona
so Somali
sq Albanian
sr Serbian
ss Siswati
st Sesotho
su Sundanese
sv Swedish
sw Swahili
ta Tamil
te Telugu
tg Tajik
th Thai
ti Tigrinya
tk Turkmen
tl Tagalog
tn Setswana
to Tonga
tr Turkish
ts Tsonga
tt Tatar
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
vo Volapuk
wo Wolof
xh Xhosa
yi Yiddish (formerly ji)
yo Yoruba
za Zhuang
zh Chinese
zu Zulu
Two letter country codes
Technical contents of ISO 639:1988 (E/F)
"Code for the representation of names of languages".
Typed by Keld.Simonsen@dkuug.dk 1990-11-30
Minor corrections, 1992-09-08 by Keld Simonsen
Sundanese corrected, 1992-11-11 by Keld Simonsen
Telugu corrected, 1995-08-24 by Keld Simonsen
Hebrew, Indonesian, Yiddish corrected 1995-10-10 by Michael Everson
Inuktitut, Uighur, Zhuang added 1995-10-10 by Michael Everson
Sinhalese corrected, 1995-10-10 by Michael Everson
Faeroese corrected to Faroese, 1995-11-18 by Keld Simonsen
Sangro corrected to Sangho, 1996-07-28 by Keld Simonsen
Two-letter lower-case symbols are used.
The Registration Authority for ISO 639 is Infoterm, Osterreichisches
Normungsinstitut (ON), Postfach 130, A-1021 Vienna, Austria.
aa Afar
ab Abkhazian
af Afrikaans
am Amharic
ar Arabic
as Assamese
ay Aymara
az Azerbaijani
ba Bashkir
be Byelorussian
bg Bulgarian
bh Bihari
bi Bislama
bn Bengali; Bangla
bo Tibetan
br Breton
ca Catalan
co Corsican
cs Czech
cy Welsh
da Danish
de German
dz Bhutani
el Greek
en English
eo Esperanto
es Spanish
et Estonian
eu Basque
fa Persian
fi Finnish
fj Fiji
fo Faroese
fr French
fy Frisian
ga Irish
gd Scots Gaelic
gl Galician
gn Guarani
gu Gujarati
ha Hausa
he Hebrew (formerly iw)
hi Hindi
hr Croatian
hu Hungarian
hy Armenian
ia Interlingua
id Indonesian (formerly in)
ie Interlingue
ik Inupiak
is Icelandic
it Italian
iu Inuktitut
ja Japanese
jw Javanese
ka Georgian
kk Kazakh
kl Greenlandic
km Cambodian
kn Kannada
ko Korean
ks Kashmiri
ku Kurdish
ky Kirghiz
la Latin
ln Lingala
lo Laothian
lt Lithuanian
lv Latvian, Lettish
mg Malagasy
mi Maori
mk Macedonian
ml Malayalam
mn Mongolian
mo Moldavian
mr Marathi
ms Malay
mt Maltese
my Burmese
na Nauru
ne Nepali
nl Dutch
no Norwegian
oc Occitan
om (Afan) Oromo
or Oriya
pa Punjabi
pl Polish
ps Pashto, Pushto
pt Portuguese
qu Quechua
rm Rhaeto-Romance
rn Kirundi
ro Romanian
ru Russian
rw Kinyarwanda
sa Sanskrit
sd Sindhi
sg Sangho
sh Serbo-Croatian
si Sinhalese
sk Slovak
sl Slovenian
sm Samoan
sn Shona
so Somali
sq Albanian
sr Serbian
ss Siswati
st Sesotho
su Sundanese
sv Swedish
sw Swahili
ta Tamil
te Telugu
tg Tajik
th Thai
ti Tigrinya
tk Turkmen
tl Tagalog
tn Setswana
to Tonga
tr Turkish
ts Tsonga
tt Tatar
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
vo Volapuk
wo Wolof
xh Xhosa
yi Yiddish (formerly ji)
yo Yoruba
za Zhuang
zh Chinese
zu Zulu
"Code for the representation of names of languages".
Typed by Keld.Simonsen@dkuug.dk 1990-11-30
Minor corrections, 1992-09-08 by Keld Simonsen
Sundanese corrected, 1992-11-11 by Keld Simonsen
Telugu corrected, 1995-08-24 by Keld Simonsen
Hebrew, Indonesian, Yiddish corrected 1995-10-10 by Michael Everson
Inuktitut, Uighur, Zhuang added 1995-10-10 by Michael Everson
Sinhalese corrected, 1995-10-10 by Michael Everson
Faeroese corrected to Faroese, 1995-11-18 by Keld Simonsen
Sangro corrected to Sangho, 1996-07-28 by Keld Simonsen
Two-letter lower-case symbols are used.
The Registration Authority for ISO 639 is Infoterm, Osterreichisches
Normungsinstitut (ON), Postfach 130, A-1021 Vienna, Austria.
aa Afar
ab Abkhazian
af Afrikaans
am Amharic
ar Arabic
as Assamese
ay Aymara
az Azerbaijani
ba Bashkir
be Byelorussian
bg Bulgarian
bh Bihari
bi Bislama
bn Bengali; Bangla
bo Tibetan
br Breton
ca Catalan
co Corsican
cs Czech
cy Welsh
da Danish
de German
dz Bhutani
el Greek
en English
eo Esperanto
es Spanish
et Estonian
eu Basque
fa Persian
fi Finnish
fj Fiji
fo Faroese
fr French
fy Frisian
ga Irish
gd Scots Gaelic
gl Galician
gn Guarani
gu Gujarati
ha Hausa
he Hebrew (formerly iw)
hi Hindi
hr Croatian
hu Hungarian
hy Armenian
ia Interlingua
id Indonesian (formerly in)
ie Interlingue
ik Inupiak
is Icelandic
it Italian
iu Inuktitut
ja Japanese
jw Javanese
ka Georgian
kk Kazakh
kl Greenlandic
km Cambodian
kn Kannada
ko Korean
ks Kashmiri
ku Kurdish
ky Kirghiz
la Latin
ln Lingala
lo Laothian
lt Lithuanian
lv Latvian, Lettish
mg Malagasy
mi Maori
mk Macedonian
ml Malayalam
mn Mongolian
mo Moldavian
mr Marathi
ms Malay
mt Maltese
my Burmese
na Nauru
ne Nepali
nl Dutch
no Norwegian
oc Occitan
om (Afan) Oromo
or Oriya
pa Punjabi
pl Polish
ps Pashto, Pushto
pt Portuguese
qu Quechua
rm Rhaeto-Romance
rn Kirundi
ro Romanian
ru Russian
rw Kinyarwanda
sa Sanskrit
sd Sindhi
sg Sangho
sh Serbo-Croatian
si Sinhalese
sk Slovak
sl Slovenian
sm Samoan
sn Shona
so Somali
sq Albanian
sr Serbian
ss Siswati
st Sesotho
su Sundanese
sv Swedish
sw Swahili
ta Tamil
te Telugu
tg Tajik
th Thai
ti Tigrinya
tk Turkmen
tl Tagalog
tn Setswana
to Tonga
tr Turkish
ts Tsonga
tt Tatar
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
vo Volapuk
wo Wolof
xh Xhosa
yi Yiddish (formerly ji)
yo Yoruba
za Zhuang
zh Chinese
zu Zulu
Saturday, August 27, 2011
Explain different logging levels?
The logging levels are, in ascending order of severity, as follows: ALL, DEBUG, INFO, WARN,ERROR, FATAL, and OFF
How to start Tomcat with security?
By default, Tomcat starts without security. To start it with security, use the -security switch
$CATALINA_HOME/bin/startup security
$CATALINA_HOME/bin/startup security
what are different configuration files in Tomcat conf folder?
• catalina.policy
• catalina.properties
• context.xml
• server.xml
• logging.properties
• tomcat-users.xml
• web.xml
• catalina.properties
• context.xml
• server.xml
• logging.properties
• tomcat-users.xml
• web.xml
what is META-INF?
The META-INF directory is placed at the root of a web application when it’s deployed as a WAR file
what is WEB-INF?
The Servlet specification sets out how you partition web applications into public and private areas. You store the private resources in a directory called WEB-INF in the root of the web application. This is where you store all the web-application–specific configuration files, application classes, and application-specific utilities
WEB-INF
classes
lib
tags
WEB-INF
classes
lib
tags
what is WAR?
A web application is a collection of web resources, such as JSP pages, HTML pages, servlets,and configuration files, organized into a hierarchy as specified in the Servlet specification. You have two ways in which to organize a web application: packed and unpacked. The packed form is called a web archive (WAR) file, and the unpacked form is a collection of directories stored on the file system.
Monday, August 22, 2011
mysql :create table with a primary key
create table pmuser(
user_id BIGINT NOT NULL AUTO_INCREMENT,
user_name varchar(40),
user_pwd varchar(50),
primary key(user_id)
);
user_id BIGINT NOT NULL AUTO_INCREMENT,
user_name varchar(40),
user_pwd varchar(50),
primary key(user_id)
);
mysql - Create database and assign user access
create user pmuser@'localhost' identified by 'pmuser';
drop database pmdata;
create database pmdata;
grant all on pmdata.* to pmuser@'localhost';
drop database pmdata;
create database pmdata;
grant all on pmdata.* to pmuser@'localhost';
Mysql-Create user
First log on to mysql DB as root
>mysql -u root -p (press enter)
Enter Password :enter password
then create user
>
create user 'suresh' identified by 'suresh';
>mysql -u root -p (press enter)
Enter Password :enter password
then create user
>
create user 'suresh' identified by 'suresh';
Thursday, April 7, 2011
Create a user inLinux?
$ sudo useradd -d /home/svn -s /bin/bash -p svn123 -g svng -G www-data -m svn
Friday, April 1, 2011
what is the differenc between ID and Name attributes in bean xml tag in Spring?
XML has restrictions on the characters that can appear in the XML id attribute,
but usually you won’t use those special characters in a bean name. Moreover, Spring allows
you to specify multiple names, separated by commas, for a bean in the name attribute. But you
can’t do so in the id attribute, as commas are not allowed there.
In fact, neither the bean name nor the bean ID is required for a bean. A bean that has no
name defined is called an anonymous bean
but usually you won’t use those special characters in a bean name. Moreover, Spring allows
you to specify multiple names, separated by commas, for a bean in the name attribute. But you
can’t do so in the id attribute, as commas are not allowed there.
In fact, neither the bean name nor the bean ID is required for a bean. A bean that has no
name defined is called an anonymous bean
Sunday, March 27, 2011
what is BIDS?
Business Intelligence Development Studio (BIDS) is a tool from microsoft
for
Integration services ( SSIS)
Reporting Services (ISRS)
Analysis Services( SSAS)
for
Integration services ( SSIS)
Reporting Services (ISRS)
Analysis Services( SSAS)
Saturday, March 26, 2011
what is the use of PortletContext?
PortletContext (similar to ServletContext) is shared among all the users and all the portlets in the portlet application. You can get and set attributes from PortletContext as a global point of communication
what are the Portlet methods to handle client request?
The Portlet interface defines two methods for handling requests,
the processAction method and the render method.
In addition the portlet may implement any of the 20 optional interfaces EventPortlet and ResourceServingPortlet that define the additional lifecycle methods
processEvent and serveResource
From Portlet Interface
--------------- processAction
--------------------render
From EventPortlet interface,
----------------- processEvent
From ResourceServingPortlet interface
------------------ serveResource
the processAction method and the render method.
In addition the portlet may implement any of the 20 optional interfaces EventPortlet and ResourceServingPortlet that define the additional lifecycle methods
processEvent and serveResource
From Portlet Interface
--------------- processAction
--------------------render
From EventPortlet interface,
----------------- processEvent
From ResourceServingPortlet interface
------------------ serveResource
How to do get access to Portlet Context?
Once Portlet get PortletConfig object from container through init () method,
we can get PortletContext from this config object
The configuration object also gives the portlet access to a context object that describes the portlet’s runtime environment
This is same as servlets
we can get PortletContext from this config object
The configuration object also gives the portlet access to a context object that describes the portlet’s runtime environment
This is same as servlets
what you do in Portlet initializatoin method?
Once Container instantiates the portlet, it calls the
initialization method of portlet (init())
In Initialization,
we initialize costly resources (such as backend connections),
and perform other one-time activities.
This init() method gets PortletConfig object from Container,
which serve initialization parameters and the ResourceBundle defined in the portlet definition in the deployment descriptor
initialization method of portlet (init())
In Initialization,
we initialize costly resources (such as backend connections),
and perform other one-time activities.
This init() method gets PortletConfig object from Container,
which serve initialization parameters and the ResourceBundle defined in the portlet definition in the deployment descriptor
what are life cycle methods of Portlet?
This life cycle of a portlet is expressed through the
============================================================
init,
processAction,
render ,
destroy
In case of Servlets ,
===============================
Init ()
Service () [for http servletsm service can call doget(), dopost()]
destroy()
In case of EJBs
==============================
setSessionContext and ejbCreate
Then users invoke business methods
Container may invoke ejbPassivate() , ejbActivate ()
Finally container can invoke ejbRemove ()
============================================================
init,
processAction,
render ,
destroy
In case of Servlets ,
===============================
Init ()
Service () [for http servletsm service can call doget(), dopost()]
destroy()
In case of EJBs
==============================
setSessionContext and ejbCreate
Then users invoke business methods
Container may invoke ejbPassivate() , ejbActivate ()
Finally container can invoke ejbRemove ()
How many objects will be created for a portlet?
The portlet definition sections in the deployment descriptor of a portlet application
control how the portlet container creates portlet instances.
For a portlet, not hosted in a distributed environment (the default), the portlet container mustii instantiate and use only one portlet object per portlet definition
control how the portlet container creates portlet instances.
For a portlet, not hosted in a distributed environment (the default), the portlet container mustii instantiate and use only one portlet object per portlet definition
what are EventPortlet, ResourceServingPortlet interfaces?
The Portlet interface is the main abstraction of the Portlet API. All portlets implement this interface either directly or, more commonly, by extending a class that implements the interface.
The portlet can optionally implement the additional life cycle interfaces EventPortlet
and ResourceServingPortlet in order to leverage additional functionality for receiving
/ sending events or serving resources, respectively.
The Portlet API includes a GenericPortlet class that implements the Portlet,
EventPortlet and ResourceServingPortlet interface and provides default
functionality.
Developers should typically extend, directly or indirectly, the GenericPortlet class to implement their portlets.
The portlet can optionally implement the additional life cycle interfaces EventPortlet
and ResourceServingPortlet in order to leverage additional functionality for receiving
/ sending events or serving resources, respectively.
The Portlet API includes a GenericPortlet class that implements the Portlet,
EventPortlet and ResourceServingPortlet interface and provides default
functionality.
Developers should typically extend, directly or indirectly, the GenericPortlet class to implement their portlets.
what is the purpose of processAction , render methods in Portlet Interface?
processAction : This method used to handle state change logic
render : This method is used to render markup
In JSR -286 spefication, default rendering mechanism is JSP pages.
We can also use MVC frame works like struts , spring ..etc
render : This method is used to render markup
In JSR -286 spefication, default rendering mechanism is JSP pages.
We can also use MVC frame works like struts , spring ..etc
Can you Explain Portlet Page Generation Process?
Portlets run within a portlet container. The portlet container receives the content
generated by the portlets. Typically, the portlet container hands the portlet content to a portal. The portal server creates the portal page with the content generated by the portlets and sends it to the client device (i.e. a browser) where it is displayed to the user.
generated by the portlets. Typically, the portlet container hands the portlet content to a portal. The portal server creates the portal page with the content generated by the portlets and sends it to the client device (i.e. a browser) where it is displayed to the user.
what is portlet window?
A portlet generates markup fragments. A portal may add a title, control buttons and other decorations to the markup fragment generated by the portlet, this new fragment is called a portlet window. Then the portal may aggregate portlet windows into a complete document, the portal page
what is a fragment?
The content generated by a portlet is also called a fragment.
A fragment is a piece of markup (e.g. HTML, XHTML, WML) adhering to certain rules and can be aggregated with other fragments to form a complete document. The content of a portlet is normally aggregated with the content of other portlets to form the portal page
A fragment is a piece of markup (e.g. HTML, XHTML, WML) adhering to certain rules and can be aggregated with other fragments to form a complete document. The content of a portlet is normally aggregated with the content of other portlets to form the portal page
A Portlet Container supports Servetlet container functionality?
The portlet container is an extension of the servlet container. As such, a portlet container can be built on top of an existing servlet container or it may implement all the functionality of a servlet container. Regardless of how a portlet container is implemented, its runtime environment is assumed to support at least Servlet Specification 2.4.
Can Portlets and Servlets communicate with in the same portal application?
Portlets can leverage servlets, JSPs and JSP tag-libraries for generating content.
A portlet can call servlets and JSPs just like a servlet can invoke other servlets and JSPs using a request dispatcher
When a servlet or JSP is called from within a portlet, the servlet request given to the servlet or JSP is based on the portlet request and the servlet response given to the servlet or JSP is based on the portlet response.
For example, by default:
Attributes set in the portlet request are available in the included servlet request
• The portlet and the included servlet or JSP share the same output stream Dispatching Requests to Servlets and JSPs Chapter).
• Attributes set in the portlet session are accessible from the servlet session and vice versa
A portlet can call servlets and JSPs just like a servlet can invoke other servlets and JSPs using a request dispatcher
When a servlet or JSP is called from within a portlet, the servlet request given to the servlet or JSP is based on the portlet request and the servlet response given to the servlet or JSP is based on the portlet response.
For example, by default:
Attributes set in the portlet request are available in the included servlet request
• The portlet and the included servlet or JSP share the same output stream Dispatching Requests to Servlets and JSPs Chapter).
• Attributes set in the portlet session are accessible from the servlet session and vice versa
is the classloader is same for Portlets and Servlets?
Portlets, servlets and JSPs are bundled in an extended web application called a portlet
application. Portlets, servlets and JSPs within the same portlet application share the
classloader, application context and session.
application. Portlets, servlets and JSPs within the same portlet application share the
classloader, application context and session.
Can you list Some features supported by Servlets but not by Portlets?
Portlets do not have access to the following functionality provided by servlets:
• Setting the character set encoding of the render response
• The URL of the client request to the portal
• Setting the character set encoding of the render response
• The URL of the client request to the portal
Can you list some functionalities supported by Portlets but not by Servlets?
Portlets have access to the following extra functionality not provided by servlets:
• Portlets have a means of accessing and storing persistent configuration and
customization data
• Portlets have access to user profile information
• Portlets have URL rewriting functions for creating hyperlinks within their
content, which allow portal server agnostic creation of links and actions in page
fragments
• Portlets can store transient data in the portlet session in two different scopes: the
application-wide scope and the portlet private scope.
• Portlets can send and receive events from other portlets or can receive container
defined events.
• Portlets have a means of accessing and storing persistent configuration and
customization data
• Portlets have access to user profile information
• Portlets have URL rewriting functions for creating hyperlinks within their
content, which allow portal server agnostic creation of links and actions in page
fragments
• Portlets can store transient data in the portlet session in two different scopes: the
application-wide scope and the portlet private scope.
• Portlets can send and receive events from other portlets or can receive container
defined events.
What are differences between portlets and servlets?
Portlets differ in the following aspects from servlets:
• Portlets only generate markup fragments in the render method, not complete
documents. The Portal aggregates portlet markup fragments into a complete portal
page
i.e portlets wont generates html , head ,title, body ..etc tags ...Its portal
duty to include content generated by portlets within these tages
• Portlets can only be invoked through URLs constructed via the portlet API.
We can construct URL and invoke servets on the server.. developer does this
at development time.
Ex: http://localhost/banner/LoginServet?user=suresh&password="suresh123"
We are not able to construct URL like this for a portlet.... we need to use portlet
API to generate an URL
• Web clients interact with portlets through a portal system
• Portlets have more refined request handling, i.e.
action requests,
event request,
render request and
resource requests
• Portlets have predefined portlet modes and window states that indicate the
function the portlet is performing and the amount of real estate in the portal page
No Modes for Servlets
• Portlets can exist many times in a portal page
• Portlets only generate markup fragments in the render method, not complete
documents. The Portal aggregates portlet markup fragments into a complete portal
page
i.e portlets wont generates html , head ,title, body ..etc tags ...Its portal
duty to include content generated by portlets within these tages
• Portlets can only be invoked through URLs constructed via the portlet API.
We can construct URL and invoke servets on the server.. developer does this
at development time.
Ex: http://localhost/banner/LoginServet?user=suresh&password="suresh123"
We are not able to construct URL like this for a portlet.... we need to use portlet
API to generate an URL
• Web clients interact with portlets through a portal system
• Portlets have more refined request handling, i.e.
action requests,
event request,
render request and
resource requests
• Portlets have predefined portlet modes and window states that indicate the
function the portlet is performing and the amount of real estate in the portal page
No Modes for Servlets
• Portlets can exist many times in a portal page
Can you say some similarities between portlets and servlets?
Portlets share many similarities with servlets:
• Portlets are Java technology based web components
• Portlets are managed by a specialized container
• Portlets generate dynamic content
• Portlets lifecycle is managed by a container
• Portlets interact with web client via a request/response paradigm
• Portlets are Java technology based web components
• Portlets are managed by a specialized container
• Portlets generate dynamic content
• Portlets lifecycle is managed by a container
• Portlets interact with web client via a request/response paradigm
what is a Servlet?
A Servlet is a Java technology based web component, managed by a container, that
generates dynamic content
generates dynamic content
What are minimum JDK, J2EE requirements supported by a portlet server?
The Portlet API v2.0 is based on the Java Platform, Standard Edition 5.0 and Enterprise
Edition v1.4
So Portlet Server must support JDK 5.0 and J2EE 1.4
Edition v1.4
So Portlet Server must support JDK 5.0 and J2EE 1.4
Can you list some portlet API objects ?
Servets ========================== Portlets
=========================================================
ServletContext --------------------- PortletContext
ServletConfig --------------------- PortletConfig
ServletRequest --------------------- PortletRequest
ServletResponse --------------------- PortletResponse
RequestDispatcher --------------------- PortletRequestDispatcher
(include + forward) (include + forward )
HttpSession --------------------- PortletSession
URL --------------------- PortletURL
NA --------------------- RenderRequest
NA --------------------- RenderResponse
=========================================================
ServletContext --------------------- PortletContext
ServletConfig --------------------- PortletConfig
ServletRequest --------------------- PortletRequest
ServletResponse --------------------- PortletResponse
RequestDispatcher --------------------- PortletRequestDispatcher
(include + forward) (include + forward )
HttpSession --------------------- PortletSession
URL --------------------- PortletURL
NA --------------------- RenderRequest
NA --------------------- RenderResponse
what is the latest version of Java Portlet Spefication?
Currently we have Java Portlet Spefication V 2.0
Its same as V1.0 with some changes
One difference can be :
RenderResponse.setContentType is no longer required before calling getWriter
or getOutputstream in V2.0 Specification
Allowing portlets to share parameters with other
portlets.
Portlet filter – allowing on-the-fly transformations of information in both the
request to and the response from a portlet
Its same as V1.0 with some changes
One difference can be :
RenderResponse.setContentType is no longer required before calling getWriter
or getOutputstream in V2.0 Specification
Allowing portlets to share parameters with other
portlets.
Portlet filter – allowing on-the-fly transformations of information in both the
request to and the response from a portlet
A Portal directly interacts with Portlets. True / False?
False..
Portal always communicates with Portlets through Portlet Container
Portal always communicates with Portlets through Portlet Container
GenericServlet Class implements only one interface and that is Portlet interface. True / False?
False...
GenericPortlet Interface implements Portlet Interface and also other two
interfaces
ResourceServingPortlet
EventPortlet
GenericPortlet Interface implements Portlet Interface and also other two
interfaces
ResourceServingPortlet
EventPortlet
We have Generic Servet Class in Servlet API... do you know anything like this in Portlet API?
Yes.. I Know
Its GenericPortlet class which implements Portlet Interface along with other two
interfaces:
ResourceServingPortlet
EventPortlet
Its GenericPortlet class which implements Portlet Interface along with other two
interfaces:
ResourceServingPortlet
EventPortlet
In Servlet API, Servlet is top level interface.. what is the top level interface in Portlet API/Specification?
Its Simple.....
Servlet is top level interface in Servlet API
Portlet is top level interface in Portlet API
Servlet is top level interface in Servlet API
Portlet is top level interface in Portlet API
A Portlet container aggregates information from Portlets and shows to users. True / False?
False....
A portlet container is not responsible for aggregating the content produced by the
portlets. It is the responsibility of the portal to handle the aggregation
A portlet container is not responsible for aggregating the content produced by the
portlets. It is the responsibility of the portal to handle the aggregation
what is Porlet Container?
I hope you are aware of Servet Container ....What a Servlet container does?
It provides an environment for Servlets....It instantiate servlets, it manages servlets it removes servlets from memory when if it no more required....
Similarly Servlet Container provides environment for Portlets...It instantiates portlets, creates Portlets, manages portlets....and destroy portlets if no more required
who develops portlet container? Any one can develop if you understand JSR-286 specification
Portlet container can be part of your web server (standalone) it can be a different modules in your Web / Application server ....Its like EJB Container.... It can be stand alone or can exists as a separate modules
Can you Mention some Portlet container implementer names?
Ans : Yes.. Liferay, Oracle /BEA Web Logic, IBM Web sphere....who has their own portlet container in their servers
It provides an environment for Servlets....It instantiate servlets, it manages servlets it removes servlets from memory when if it no more required....
Similarly Servlet Container provides environment for Portlets...It instantiates portlets, creates Portlets, manages portlets....and destroy portlets if no more required
who develops portlet container? Any one can develop if you understand JSR-286 specification
Portlet container can be part of your web server (standalone) it can be a different modules in your Web / Application server ....Its like EJB Container.... It can be stand alone or can exists as a separate modules
Can you Mention some Portlet container implementer names?
Ans : Yes.. Liferay, Oracle /BEA Web Logic, IBM Web sphere....who has their own portlet container in their servers
what is Portlet?
A Portlet is a small web application which is can be embedded / included
on portal web page....
A Portal will have lot of portal pages.... Each Portal Page has lot of portlets....
On server side this portlet is nothing but small application / web component like
Servlet, which generates a piece of information to user
So Portal has lot of portal pages.. A portal page has lot of Portlets
on portal web page....
A Portal will have lot of portal pages.... Each Portal Page has lot of portlets....
On server side this portlet is nothing but small application / web component like
Servlet, which generates a piece of information to user
So Portal has lot of portal pages.. A portal page has lot of Portlets
what is Portal?
Portal is nothing but a web application which provides
Personalization
Authentication
Aggregation for content from various systems...
In an Organization it can acts as presentation layer for all information systems
in the organization
Ex: Intranets in organization.... CMC LTD / TCS - Ultimatix ( an intranet portal),
Infosys - intranet , ....
It Can be Extranet for public .... iGoogle, My Yahooo....etc
Personalization
Authentication
Aggregation for content from various systems...
In an Organization it can acts as presentation layer for all information systems
in the organization
Ex: Intranets in organization.... CMC LTD / TCS - Ultimatix ( an intranet portal),
Infosys - intranet , ....
It Can be Extranet for public .... iGoogle, My Yahooo....etc
What is JSR-286?
JSR-286 (Java Specification Request ) is specification from Sun for Portlets.
Its same as Servlet Specification from Sun for Servlets.
It Useful for standardization
It provides required information / rules to implementers of Portlet containers
It defiles How Portlet look likes, what services Portlet container should provide
....any more....
Its same as Servlet Specification from Sun for Servlets.
It Useful for standardization
It provides required information / rules to implementers of Portlet containers
It defiles How Portlet look likes, what services Portlet container should provide
....any more....
Thursday, March 24, 2011
SQLPLUSW is available on oracle 11g?
No. Oracle is no more giving SQLPLUSW as part of oracle installation...
Oracle 11g and future versions wont carry Sqlplusw user interface....
Oracle forcing to use Sqldeveloper , a free tool from oracle
Oracle 11g and future versions wont carry Sqlplusw user interface....
Oracle forcing to use Sqldeveloper , a free tool from oracle
Sunday, February 20, 2011
Command line tools to install RPMs on OpenSUSE?
The command-line tools rug (on SLES and SLED 10) and zypper for openSUSE
Shell Script: : remove files and directories
#!/bin/bash
#########################################################
# File Name : sy_2_g
# Author: : Suresh Yadagiri
# Date : August 10,2010
# Descriptiom :
# write a Bourne shell script that takes a file name and
# a directory name as command line arguments and removes
# the file if it is found under the given directory and
# is a simple file. If the file(the first argument) is a
# directory, it is removed (including all the files and
# subdirectories under it).
#
#########################################################
function printusage(){
echo -e "\nusage:\n$0 filename directoryname"
echo " or "
echo -e "$0 directoryname directoryname"
exit 1
}
if (( $# < 2 || $# > 2 ))
then
echo "Invalid arguments"
printusage
fi
if [ ! -d $2 ] ; then
echo " $2 is not a directory or exists"
printusage
fi
if [ ! -d "$2/$1" ] && [ ! -f "$2/$1" ]
then
echo "\"$1\" is not a directory or a file inside \"$2\"."
printusage
fi
if [ -d "$2/$1" ] ; then
echo "\"$1\" directory removed from $2"
rm -r "$2/$1"
else
echo "\"$1\" file removed from $2"
rm -f "$2/$1"
fi
#########################################################
# File Name : sy_2_g
# Author: : Suresh Yadagiri
# Date : August 10,2010
# Descriptiom :
# write a Bourne shell script that takes a file name and
# a directory name as command line arguments and removes
# the file if it is found under the given directory and
# is a simple file. If the file(the first argument) is a
# directory, it is removed (including all the files and
# subdirectories under it).
#
#########################################################
function printusage(){
echo -e "\nusage:\n$0 filename directoryname"
echo " or "
echo -e "$0 directoryname directoryname"
exit 1
}
if (( $# < 2 || $# > 2 ))
then
echo "Invalid arguments"
printusage
fi
if [ ! -d $2 ] ; then
echo " $2 is not a directory or exists"
printusage
fi
if [ ! -d "$2/$1" ] && [ ! -f "$2/$1" ]
then
echo "\"$1\" is not a directory or a file inside \"$2\"."
printusage
fi
if [ -d "$2/$1" ] ; then
echo "\"$1\" directory removed from $2"
rm -r "$2/$1"
else
echo "\"$1\" file removed from $2"
rm -f "$2/$1"
fi
Shell Script: Sum of squares
#!/bin/bash
#######################################################
# File Name : sy_1_g
# Author: : Suresh Yadagiri
# Date : July 27,2010
# Descriptiom :
# This script takes integer numbers as
# the command line arguments and displays
# a list of their squares amd the sum
# of numbers in the list of squares
#####################################################
printusageinfo(){
echo "Usage: $0 number-list"
exit 1
}
function is_integer() {
printf "%d" $1 > /dev/null 2>&1
return $?
}
if [ $# = 0 ]
then
echo "Usage: $0 number-list"
exit 1
fi
index=0 #Running sum initialized to zero
sumofsquares=0 #sum of squares
count=0 #To count number of arguments
while [ $# != 0 ]
do
if is_integer $1; then
# "$1 is an integer"
numbers[$index]=`expr $1`
let square=`expr $1*$1`
squares[$index]=$square
sumofsquares=`expr $sumofsquares + $square`
count=`expr $count + 1`
shift # Shift the counted number out
index=`expr $index + 1`
else
echo "$1 is not an integer"
printusageinfo
fi
done
#displaying numbers and their squares
echo "Number Square"
index=0
while [ $index -lt $count ]
do
echo " ${numbers[$index]} ${squares[$index]}"
index=`expr $index + 1`
done
#displaying sum of squares
echo "The sum of squres is $sumofsquares ."
exit 0
#######################################################
# File Name : sy_1_g
# Author: : Suresh Yadagiri
# Date : July 27,2010
# Descriptiom :
# This script takes integer numbers as
# the command line arguments and displays
# a list of their squares amd the sum
# of numbers in the list of squares
#####################################################
printusageinfo(){
echo "Usage: $0 number-list"
exit 1
}
function is_integer() {
printf "%d" $1 > /dev/null 2>&1
return $?
}
if [ $# = 0 ]
then
echo "Usage: $0 number-list"
exit 1
fi
index=0 #Running sum initialized to zero
sumofsquares=0 #sum of squares
count=0 #To count number of arguments
while [ $# != 0 ]
do
if is_integer $1; then
# "$1 is an integer"
numbers[$index]=`expr $1`
let square=`expr $1*$1`
squares[$index]=$square
sumofsquares=`expr $sumofsquares + $square`
count=`expr $count + 1`
shift # Shift the counted number out
index=`expr $index + 1`
else
echo "$1 is not an integer"
printusageinfo
fi
done
#displaying numbers and their squares
echo "Number Square"
index=0
while [ $index -lt $count ]
do
echo " ${numbers[$index]} ${squares[$index]}"
index=`expr $index + 1`
done
#displaying sum of squares
echo "The sum of squres is $sumofsquares ."
exit 0
Friday, February 18, 2011
Oracle documentation sites?
Oracle 10g Release 2 (10.2)
http://www.oracle.com/pls/db102/homepage
Oracle 11g Release 1 (11.1)
http://www.oracle.com/pls/db111/homepage
http://www.oracle.com/pls/db102/homepage
Oracle 11g Release 1 (11.1)
http://www.oracle.com/pls/db111/homepage
Can you suggest partion sizes of Ubuntu on 40GB harddisk?
/ : 5 GB : 4998 MB
/usr : 4 GB : 4198 MB
/tmp : 4 GB : 4500MB
/var : 1GB : 1000MB
/boot: 300MB : 300 MB
swap : 1025MB (for 1GB RAM) :
/home : 15000MB
/opt : 12079 MB
/usr : 4 GB : 4198 MB
/tmp : 4 GB : 4500MB
/var : 1GB : 1000MB
/boot: 300MB : 300 MB
swap : 1025MB (for 1GB RAM) :
/home : 15000MB
/opt : 12079 MB
Thursday, February 17, 2011
How to add java to path in Ubuntu Linux?
export JAVA_HOME=/usr/SharedVB/jdk1.6.0_24
export PATH=$PATH:$JAVA_HOME/bin
export PATH=$PATH:$JAVA_HOME/bin
Tuesday, February 15, 2011
How to mount a shared folder(virtual box) in solaris ?
bash-3.00# mount -F vboxfs Client_and_Server /usr/SharedVB
bash-3.00# ls /usr/SharedVB/
pc861_linux_em64t.tar
bash-3.00# ls /usr/SharedVB/
pc861_linux_em64t.tar
Friday, February 4, 2011
How to know block size in OS?
syadagir@ubuntuLinux:~$ sudo dumpe2fs /dev/sda1 | grep -i 'Block size'
dumpe2fs 1.40.8 (13-Mar-2008)
Block size: 4096
dumpe2fs 1.40.8 (13-Mar-2008)
Block size: 4096
How do you create private datanase link in Oracle?
CREATE DATABASE LINK EDW_SURESH CONNECT TO SURESH IDENTIFIED BY suresh123 USING 'EDN_TNS_ENTRY';
Tuesday, February 1, 2011
Find you oracle mode (In cluster? procted with standby?streams c
SQL> select parallel from v$instance;
PAR
---
NO
SQL> select protection_level from v$database;
PROTECTION_LEVEL
--------------------
MAXIMUM PERFORMANCE
SQL> select * from dba_streams_administrator;
no rows selected
SQL>
PAR
---
NO
SQL> select protection_level from v$database;
PROTECTION_LEVEL
--------------------
MAXIMUM PERFORMANCE
SQL> select * from dba_streams_administrator;
no rows selected
SQL>
Write About sun certifications?
Currently there are eight Java certification exams
The Associate exam, the Programmer exam, and the Developer exam are all associated with the Java Standard Edition.
The Web Component exam, the Business Component exam, the Web Services exam, and the Enterprise Architect exam are all associated with the Java Enterprise Edition.
The Mobile Application exam is associated with the Java Micro Edition.
The Associate, Programmer, Web Component, Business Component, Web Services, and Mobile Application exams are exclusively multiple-choice and drag and-drop exams taken at a testing center
while the Developer and Architect exams also involve submitting a project.
The Associate Exam (CX-310-019)
================================
Sun Certified Java Associate (SCJA)
The Associate exam is for candidates just entering an application development or a software project management career using Java technologies. This exam tests basic knowledge of object-oriented concepts, the basics of UML, the basics of the Java programming language, and general knowledge of Java Platforms and Technologies. This exam has no prerequisites.
The Programmer Exams (CX-310-065)
=================================================
Sun Certified Java Programmer (SCJP) for Java 6
The Programmer exam is designed to test your knowledge of the Java programming language itself. It requires detailed knowledge of language syntax, core concepts, and a number of common application programming interfaces (APIs). This exam also tests intermediate knowledge of object-oriented design concepts. It does not test any issues related to architecture, and it does not ask why one approach is better than another, but rather it asks whether the given approach works in a particular situation.
This exam has no prerequisites.
As of May, 2008, two older versions of this exam are still available, the 1.4 and the 5.0.
The Developer Exam (CX-310-252A, CX-310-027)
===============================================================
Sun Certified Java Developer (SCJD)
The Developer exam picks up where the Programmer exam leaves off. Passing the Programmer exam is required before you can start the Developer exam. The Developer exam requires you to develop an actual program and then defend your design decisions. It is designed to test your understanding of why certain approaches are better than others in certain circumstances, and to prove your ability to follow a specification and implement a correct, functioning, and user-friendly program.
The Developer exam consists of two pieces: a project assignment and a follow-up essay exam. Candidates have an unlimited amount of time to complete the project, but once the project is submitted, the candidate then must go to a testing center and complete a short follow-up essay exam, designed primarily to validate and verify that it was you who designed and built the project.
The Web Component Developer Exam (CX-310-083)
=========================================================
Sun Certified Web Component Developer for Java EE Platform (SCWCD)
The web developer exam is for those who are using Java servlet and JSP (Java Server Pages) technologies to build Web applications.
It's based on the Servlet and JSP specifications defined in the Java Enterprise Edition (Java EE).
This exam requires that the candidate is a Sun Certified Java Programmer.
The Business Component Developer Exam (CX-310-091)
==========================================================
Sun Certified Business Component Developer for Java EE Platform (SCBCD)
The business component developer exam is for those candidates who are using Java EJB technology to build business-tier applications.
The exam is based on the EJB specification defined in the Java Enterprise Edition (Java EE).
This exam requires that the candidate is a Sun Certified Java Programmer.
The Web Services Developer Exam (CX-310-220)
=======================================================
Sun Certified Developer for Web Services for Java EE Platform (SCDJWS)
The web services exam is for those candidates who are building applications using Java EE and Java Web Services Developer Pack technologies.
This exam requires that the candidate is a Sun Certified Java Programmer.
The Architect Exam (CX-310-052, CX-310-301A, CX-310-062)
================================================================
Sun Certified Enterprise Architect for J2EE Technology (SCEA)
This certification is for enterprise architects, and thus does not require that the candidate pass the Programmer exam.
The Architect exam is in three pieces: a knowledge-based multiple-choice exam, an architectural design assignment, and a follow-up essay exam. You must successfully pass the multiple-choice exam before registering and receiving the design assignment.
The Mobile Exam (CX-310-110)
=============================================================
Sun Certified Mobile Application Developer for Java ME (SCMAD)
The mobile application developer exam is for candidates creating applications for cell phones or other Java enabled devices. The exam covers the Java Technology for Wireless Industry (JTWI) specification, the Wireless Messaging API, and Mobile Media APIs. This exam requires that the candidate is an SCJP.
The Associate exam, the Programmer exam, and the Developer exam are all associated with the Java Standard Edition.
The Web Component exam, the Business Component exam, the Web Services exam, and the Enterprise Architect exam are all associated with the Java Enterprise Edition.
The Mobile Application exam is associated with the Java Micro Edition.
The Associate, Programmer, Web Component, Business Component, Web Services, and Mobile Application exams are exclusively multiple-choice and drag and-drop exams taken at a testing center
while the Developer and Architect exams also involve submitting a project.
The Associate Exam (CX-310-019)
================================
Sun Certified Java Associate (SCJA)
The Associate exam is for candidates just entering an application development or a software project management career using Java technologies. This exam tests basic knowledge of object-oriented concepts, the basics of UML, the basics of the Java programming language, and general knowledge of Java Platforms and Technologies. This exam has no prerequisites.
The Programmer Exams (CX-310-065)
=================================================
Sun Certified Java Programmer (SCJP) for Java 6
The Programmer exam is designed to test your knowledge of the Java programming language itself. It requires detailed knowledge of language syntax, core concepts, and a number of common application programming interfaces (APIs). This exam also tests intermediate knowledge of object-oriented design concepts. It does not test any issues related to architecture, and it does not ask why one approach is better than another, but rather it asks whether the given approach works in a particular situation.
This exam has no prerequisites.
As of May, 2008, two older versions of this exam are still available, the 1.4 and the 5.0.
The Developer Exam (CX-310-252A, CX-310-027)
===============================================================
Sun Certified Java Developer (SCJD)
The Developer exam picks up where the Programmer exam leaves off. Passing the Programmer exam is required before you can start the Developer exam. The Developer exam requires you to develop an actual program and then defend your design decisions. It is designed to test your understanding of why certain approaches are better than others in certain circumstances, and to prove your ability to follow a specification and implement a correct, functioning, and user-friendly program.
The Developer exam consists of two pieces: a project assignment and a follow-up essay exam. Candidates have an unlimited amount of time to complete the project, but once the project is submitted, the candidate then must go to a testing center and complete a short follow-up essay exam, designed primarily to validate and verify that it was you who designed and built the project.
The Web Component Developer Exam (CX-310-083)
=========================================================
Sun Certified Web Component Developer for Java EE Platform (SCWCD)
The web developer exam is for those who are using Java servlet and JSP (Java Server Pages) technologies to build Web applications.
It's based on the Servlet and JSP specifications defined in the Java Enterprise Edition (Java EE).
This exam requires that the candidate is a Sun Certified Java Programmer.
The Business Component Developer Exam (CX-310-091)
==========================================================
Sun Certified Business Component Developer for Java EE Platform (SCBCD)
The business component developer exam is for those candidates who are using Java EJB technology to build business-tier applications.
The exam is based on the EJB specification defined in the Java Enterprise Edition (Java EE).
This exam requires that the candidate is a Sun Certified Java Programmer.
The Web Services Developer Exam (CX-310-220)
=======================================================
Sun Certified Developer for Web Services for Java EE Platform (SCDJWS)
The web services exam is for those candidates who are building applications using Java EE and Java Web Services Developer Pack technologies.
This exam requires that the candidate is a Sun Certified Java Programmer.
The Architect Exam (CX-310-052, CX-310-301A, CX-310-062)
================================================================
Sun Certified Enterprise Architect for J2EE Technology (SCEA)
This certification is for enterprise architects, and thus does not require that the candidate pass the Programmer exam.
The Architect exam is in three pieces: a knowledge-based multiple-choice exam, an architectural design assignment, and a follow-up essay exam. You must successfully pass the multiple-choice exam before registering and receiving the design assignment.
The Mobile Exam (CX-310-110)
=============================================================
Sun Certified Mobile Application Developer for Java ME (SCMAD)
The mobile application developer exam is for candidates creating applications for cell phones or other Java enabled devices. The exam covers the Java Technology for Wireless Industry (JTWI) specification, the Wireless Messaging API, and Mobile Media APIs. This exam requires that the candidate is an SCJP.
Subscribe to:
Posts (Atom)