chandana sapparapu

Ranch Hand
+ Follow
since Sep 28, 2002
Merit badge: grant badges
For More
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 chandana sapparapu

could somebody help me with this. I've struggled enough before asking for help.

Here is my WSDL. I want to call Initialize method.
I tried both the following messages






I'm getting

No soapaction header!

fault.

Thanks a lot for your time.

16 years ago
sorry, I realized it after posting the message, the rule is about the component interface, not the bean.

Anyway, still curious about why we shouldn't use constant declarations in the interface..

Thanks
In chapter 4 of MZ's study guide, he mentions the following-

A Web service endpoint interface must conform to the rules of a JAX-RPC service definition interface:
�It MUST NOT have constant declarations, such as public final static.

What is the logic behind this?

In session beans, is there a requirement that we should not declare constants using public static final? I understand that static final should not be used for ejbCreate or for business methods, but I don't recall a rule against using constants in a bean.

Thanks
Hi,
I vaguely remember that IoC was mentioned in some pattern in Head First Design Patterns. If you can recall from the top of your head under which pattern this was mentioned, please let me know.

Thanks,
Chandana
I'm a big fan of pilates, and am happy to see Pilates mentioned a few times in Head First series of books.

If you haven't found any resolutions for the new year, may I suggest Pilates?

I play Mari Winsor's 20 minute series DVDs and follow her instructions, there are a lot of other DVDs, but somehow I like her DVDs a lot(I haven't tried any others).

Yes, 20 minutes of pilates a day makes a world of difference to your energy levels.

Happy New Year. May you all stick to your resolutions till you make more new resolutions for 2007.
18 years ago
my favourites:

Any book by(doesn't mean I read all of them):

1. Jiddu Krishnamurti
2. Douglas Hofstadter

I also love
Moon and the sixpence, The Razor's edge by Somerset Maugham
Animal Farm by George Orwell

The fifth element(still reading it)
18 years ago
Hi,
In my project I have to send output from a servlet to the client applet.
Two options in achieving what I want:

1. key=value pairs in strings and parse them at the client side. I have anywhere between 10-100 records, each record having 2-10 key, value pairs.

2. Writing an object array to the output.

Which one is better?

Thanks in advance.
18 years ago
Hi,
My personal laptop is a Celeron M 320 (1.3GHZ) processor. Has anyone ran weblogic server 8.1 on a celeron processor recently. Bea download site has a link to download Weblogic for windows pentium architecture. This kept me wondering if they mean 32bit processors or pentiums only.

Please let me know if it works or not on a celeron.

Thanks
19 years ago
Actually, there is a very minor mistake with option 3, and shud be covered in errata.

<a href='mailto:${initParam['master-email']}'> email me</a>

Notice the single quotes.
It should have been

<a href="mailto:${initParam['master-email']}"> email me</a>

or

<a href='mailto:${initParam["master-email"]}'> email me</a>

I feel the actual option 3 may fail because of its syntax(all single quotes). Doesn't it? Please let me know if anyone knows the answer for sure.

Thanks



Given that a web application stores the webmaster email address in the servlet context initialization parameter called master-email.

which retrieves that value?

1 <a href='mailto:${initParam.master-email}'> email me</a>

2 <a href='mailto:${contextParam.master-email}'> email me</a>

3 <a href='mailto:${initParam['master-email']}'> email me</a>

4 <a href='mailto:${contextParam['master-email']}'> email me</a>

which answer is correct i just want to know bert. Can u tell the answer. Answer is given as option 3.

Hi,

I think there is a mistake in an answer to a mock exam question. P.330, question 6.

Question:

Given <%@ page isELIgnored="true" %>
what is the effect?

D. The JSP containing this directive should not have any EL code evaluated by the JSP container.

E. This page directive will only turn off EL evaluation if the DD declares a <el-ignored>true</el-ignored> element with a URL pattern that includes this JSP.

Option D should be the right answer, where as in HF Servlets, option E is given as the correct answer. Please let me know why I am wrong if I am wrong.

Thanks.
Chandana
Please look at the following code snippets
------------------------------------
InLoop
for(){
String a = new String();
}
-------------------------------------
Outsideloop

String a = new String();
for(){
a= new String();
}
--------------------------------------

Is the second one better compared to the first one. If a were a primitive variable, I agree that InLoop is a better way to code. I am not sure about String declaration outside the loop, memorywise or even otherwise.

Thanks,
Chandana
19 years ago
Julian,
I am working for a product development team, so I can't assume that the user will use a particular database.

I am not using just one table. I am inserting in two or more tables, and I want a trigger to be generated after the transaction is committed. I set connection's autocommit to false, and commit at the end of all the operations.
I would like to generate a trigger after the transaction is committed.

I want the trigger after the transaction because the trigger handler should read from some of the tables involved in the transaction. This is not happening if I use an after-insert trigger, since I set the autocommit to false.

Thanks.
[ August 12, 2004: Message edited by: chandana sapparapu ]
Hi, I would like to create a trigger after a transaction. I know there are triggers for before-insert, after-insert of rows in a table, but I want a trigger to be generated after the entire transaction commits. Any ideas?

TIA.
Using a StringBuffer is better, to prevent memory leak.
Hi Julian,
Thanks for the reply. I also had a feeling that it varies from table to table, but just wanted to confirm it. Thanks for the details .

Regards