Win a copy of Head First Android this week in the Android forum!

Santhosh ayiappan

Ranch Hand
+ Follow
since Jan 30, 2007
Santhosh likes ...
Eclipse IDE Oracle Java
India
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
4
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 Santhosh ayiappan

As mentioned by Tim, there are lot of ways to invoke Servlets running on different URL. Apache HTTP Client provides different options to invoke the servlet.

Here is the sample program to invoke a servlet
4 years ago
You can try to integrate Active MQ with Tomcat to accomplish the Messaging functionality.

Active MQ

Regards
Santhosh
8 years ago
Can you try something like this ?

Use the for-each block to iterate the Address and use something like position() to get the correct values
All the resources like Statement, Connection should be closed in the finally block.

You have to use the execute or executeUpdate method to perform the insert operation.

executeQuery ExecuteQuery should be used for the Select
8 years ago
You can consider the below api's to measure the Performance.

Jamon

perf4j
You can create a Foreign JMS Provider within your app server to point to the MQ Object. Once the Foreign JMS Provider is created, you should be able to use the javax.jms API to consume/post messages to the Queue.
EJB . you can refer this url to create the bean.
What type of bean you wanted to create ? Session or Entity ??
Open Chrome, Press F12 and then invoke your Java Script code that you have written to consumes the webservice. Under the Network tab, you can see what happened to your service call.

Regards
Santhosh
8 years ago
There are many ways to consume a rest service. You can use HttpURLConnection or you can use the Jersey api to consume the service.

One such example can be found in the below link.

Code to consume Rest Service
8 years ago
You can use the XML Parser as you wish (DOM/SAX) and construct a Document object.

Then parse the LoginDetailsVO object and extract the values and set them to the Document object and finally you can convert the Document object to String and return that.

This link would be a starter for you. Dom Parser

Regards
Santhosh
9 years ago
You need to construct a XML with all the user details and return the xml as String to the caller.
9 years ago
Execute the code and share the output/errors if any....