jai gurudev

Greenhorn
+ Follow
since May 28, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by jai gurudev

hi,


my doubt is can we create thread in EJB(i know we can't) but in case we try where we create thread either in bean class or ..

any body help me on this



regards


jaigurudev
hi,

any body tell me

what is actually Application Server and what are the services provided by him(this is basic question i want to clear my understanding)

main Diff between Application Server and Web Server


regards

Jaigurudev
20 years ago
hi,

anybody clear my doubt.

1) can we declare thread in EJB(i know we can't) but if i create thread how to do in EJB.
2)How Container manager relationships mapping are happen(ie mapping how it is taken place in container.)

thanks

jaigurudev
hi,

any body clear my doubt.

1)can we declare constructor in servlet
2)how to do FTP using Servlet-give some code examples
3)how servlet is calling init() method since it is not a Static method,it is calling directly

regards

jaigurudev
20 years ago
hi,

can we catch Throwable and Error in Catch Block like

Catch(Throwable e) and Catch(Error e)

give some examples


regards

jaigurudev
20 years ago
hi,

is it possible to call main() from another method,give some example

regards

jaigurudev
20 years ago
hi

Anybody clear my doubt:

Question 1:

we declare String s="abc" instead of String s=new String("abc");
what is the difference in String s="abc" could any body tell
Question 2:
i have Vector and Arraylist
we know Vector is Synchronized in default.but my doubt is when i declare
Synchronized ArrayList method()..and Vector is default Synchronized
if i use Arraylist method is there any difference between these two..

any body tell.

regards

jaigurudev
20 years ago
hi,

any body tell is there anyway way to save the state of object wihtout implementing serializabe interface or externizable interface

regards

jaigurudev
20 years ago
hi


iam new to EJB could anybody tell what are the steps to deploy my bean in weblogic.

i created remote,home and bean class...


how many jar files will create by server once i deployed

what is weblogic-ejb-jar.xml
ejb-jar.xml whether these two is required..

please give in examples to deploy


thanks

jaigurudev
hi


iam new to EJB could anybody tell what are the steps to deploy my bean in weblogic.

i created remote,home and bean class...


how many jar files will create by server once i deployed

what is weblogic-ejb-jar.xml
ejb-jar.xml whether these two is required..

please give in examples to deploy


thanks

jaigurudev
20 years ago
hi


anybody tell what are the diiference between jdk1.2,1.3,1.4.


thanks


jai gurudev
20 years ago
hi,

anybody tell about this:

in general when we go for Entity bean and when we go for Session bean.

advantage of entity bean over session bean.

entity bean will store data in the database(ie instance once created it represents a row of data)actually where it stores whether it is in Appserver or Database.


thanks

jaigurudev
hi,

could anybody tell :


which Collection class will maintain queue.(my answer is vector)-Correct?


what exception will throw when u add null values in Hashtable?

thanks

jaigurudev
20 years ago
hi pooja

i worked in this..

the flow is like

when i sending the xml request we should marshal the request xml as object and in respons unmarhal the request object and it give it as xml.for parsing the request u can use any parser i used JDOM parser which it read element by element and parsed it.

request:
Element rootElement = requestDoc.getRootElement();
sessionId = rootElement.getAttributeValue("sessionId");
Element header = rootElement.getChild("header");
id = JDOMUtil.getString(header, "id", true, "CHECK ID");


in between u should writee code for processing and parsing
in respone:
XMLBuilder xml = new XMLBuilder();
xml.addSchema("");
xml.startChildWithAttribute("your response", "id", req.getID());
xml.startChild("header");
xml.endChild("status");
xml.endChild("header");
xml.startChild("body");

thanks

mail me if u want further answer

jaigurudev
20 years ago
go to this site it is helpful for u:

http://www.geocities.com/r_palwai/scjp.html


thanks

jaigurudev