Win a copy of Spring Boot in Practice this week in the Spring forum!

varnika Raman

Greenhorn
+ Follow
since Jun 10, 2003
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 varnika Raman

Hi All,
I have a situation where I need to access both SQL and Webservice from a single query.

This is how it looks,

select gene_name, protein_name from Gene,Protein

Client will send this query to my middle Tier.
Here Gene table is in the Oracle , but Protein is not with us. I have to make a webservice call to get the Protein result from some other institution.

Please suggest me an efficient way to do it.

Thanks
Varnika
17 years ago
guys, I went thro the forum and got confused about how to prepare for the patterns.

I understand that familiarity with GoF patterns is mandatory.

DO I need to read J2EE patterns for part I?
If yes will "EJBDesignPatterns" from theserverside.com be enough?

Thanks a lot,
Varnika
Sound great. Unfortunately, that file is not saved at all.
19 years ago
Hi Gayathri,
This is my question, I have a servlet which has a static block.
static{
Timer t = new Timer();
//create a file at a period of time
}
This is in the servlet.
The servlet is going to run in 3 clusters.
I assume, this would cause the problem of creating 3 files instead of one.
Am I guessing right!. If so, what do you think is the solution?
Thanks,
Deepa :roll:
19 years ago
I have a servelt containing a static block. When this servlet runs in clustered environment, I don't want two servlet instances initializing the static block seperately and do the work. How do you think, I can solve this issue.
19 years ago
I want to restrict some users from seeing some database columns.
What approach should I take?
Thanks,
Varnika
19 years ago
I have a file in the same dir as my JavaClass which I need to read. I used
this.getClass().getResource(XSLT_FILE)
This worked fine in NT. But I have to deploy this in UNIX BOX. Unfortunately the above code doesn't work.
Does anyone know how to solve this.
Thanks
Varnika
19 years ago
How to change from one format Date to another inside XSLT?
Thanks,
Varnika
I have XSLT which converts one XML to another.
suppose if
<A>123</A>
<B></B>
in this since <B> is empty in the resulting xml it goes
<B/>
But I want it
<B></B>
Anyone has a clue?
Found the answer.

StringWriter stringWriter=new StringWriter();
// Create the result stream for the transform
StreamResult result = new StreamResult(stringWriter);
// Create a Transformer to serialize the document
TransformerFactory tFactory =TransformerFactory.newInstance();
Transformer transformer = tFactory.newTransformer();
// Transform the document to the result stream
transformer.transform(domSource, result);
return stringWriter.toString();
I have the same issue. Guys has anyone done this before?
Hi guys,
<A>This is a test</A>
I need to convert this into
<A>Thisisatest</A>
no space in the value. How to do it using XSLT.
Thanks in advance.
Varnika