Win a copy of Event Streams in Action this week in the Java in General forum!

Balaji Natarajan

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

Recent posts by Balaji Natarajan

Thanks for the link. The original site itself is up now
Do we have an alternate site for MZ's guide??

The given url says "You don't have permission to access /wsd-guide/ on this server."
Hi Harsha

Thanks for your response. I got your point

Thanks
Balaji.
Assume an xml instance as below

<purchaseorder name="testBook"
xmlns:book="http://www.sample.book.com/book"
xmlns="http://www.sample.order.com/order">

<order>
<ordernumber>101010</ordernumber>
</order>

<book:bookdetails>
<numofpages>100</numofpages>
</book:bookddetails>
</purchaseorder>

In the above instance, what will be namespace for the <order> and <numofpages> elements??

will numofpages belong to the namespace "book" as it is nested inside that??
CONGRATS Rufus,

94% is really a gud score and it seems that you have scrored it with just a months preparation.

I even remember you posts regarding the SCBCD and SCJP scores.

You are very consistent in scoring a 90+ in all of these.

ALL THE BEST for your IBM certification.

Balaji.
CONGRATS on gettting an amazing score.

You shoud have put really a great effort to score 94%. becase u r saying that u lost the touch with EJB an year back.

12-14 hrs a day is really a g8 commitment...you should have missed doing your regular activities like going to gym etc.,

Any plans of taking of J2EA in the near future.
14 years ago
Thanks for ur suggestion.

I have installed that, But I could not get the list of parameters and their values in that...

There are four tabs..
1. Headers
2. Generator
3. Config
4. About.

Any pointer to where I should look for the request parameter and what pattern I should look into will be of g8 help.
14 years ago
JSP
I don't know whether this is the correct forum to ask this question..But I feel this wud be the most appropriate one where I can raise this question.

Is there any tool/plugin to any of the below browsers, which can display all the parameters along with their values coming in with the request.

I am using IE, Netscape and Mozilla. It is enuf if there is a plugin which works with any one of these browsers.

Thanks in Advance
Balaji.
14 years ago
JSP
I thank you all for ur valuable information...As per ur advice I am planning to write SCWCD first...Will be taking this exam in the first week of March...To start with I have bought the Head First servlets and JSP book.

Any suggestions or recommendations on my plan wud be of g8 help.
14 years ago
As for as I know, I have a good knowledge on Java and EJB. I haven't xplored the JSP and Servlets much. I Also want to start learning the Struts framework.

Please suggest some good books, sites and a method to complete this xploration successively atleast to some extent.
14 years ago
thanks Valentin and Shankar its clear now.

Balaji
me too have the same doubt.

From the above post may i conclude that the business methods of a stateless session bean should not depend on the instance variables of the bean and it should depend only on the input parameters.

Balaji.
Please tell me whether the data will get deleted in the database on calling the remove() on the collection returned in the EntityBean below.



public abstract class CustomerBean implements javax.ejb.EntityBean {
...
public void addPhoneNumber(String number, byte type)
throws NamingException, CreateException {
InitialContext jndiEnc = new InitialContext();
PhoneHomeLocal phoneHome = (PhoneHomeLocal)
(jndiEnc.lookup("PhoneHomeLocal"));
PhoneLocal phone = phoneHome.create(number,type);
Collection phoneNumbers = this.getPhoneNumbers();
phoneNumbers.add(phone);
}

public void removePhoneNumber(byte typeToRemove) {
Collection phoneNumbers = this.getPhoneNumbers();
Iterator iterator = phoneNumbers.iterator();
while(iterator.hasNext()){
PhoneLocal phone = (PhoneLocal)iterator.next();
if (phone.getType() == typeToRemove) {
phoneNumbers.remove(phone);
break;
}
}
}

public abstract java.util.Collection getPhoneNumbers( );
public abstract void setPhoneNumbers(java.util.Collection phones);

}
CONGRATS Constantino Cronemberger !! Thats is an amazing score.
kindly brief us on how u prepared for the SCBCD exam !!
15 years ago
I am getting this exception while executing this statement
in.read(buffer,0,length);
where "in" is "InputStream"
java.io.IOException: Io exception: Invalid Packet Lenght
at oracle.jdbc.dbaccess.DBError.SQLToIOException(DBError.java:716)
at oracle.jdbc.driver.OracleBlobInputStream.needBytes(OracleBlobInputStr
eam.java:249)
at oracle.jdbc.driver.OracleBufferedStream.read(OracleBufferedStream.jav
a:163)

What could be the reason for this. Please help me in resolving this.
Thanks
Balaji