-
February 1st, 2017, 08:25 AM
#1
Crate my custom Adapter using java for my existing application
We are having application already to display current commodity market price. Base rates we are getting from third party server and they are updating market current changes in XML file.(eg:- ratexml.xml).
And admin having panel to update some charges and commission, so we are updating that charges into database table, we are not updating all the current rates in table. Only having reference of commodity name in table and updating admin commission and charges into table.
And having one more service to combine charges with current rates and add some calculation and arriving one more xml file to display users(userratexml.xml). I have developed this application by using php. To generate userratexml.xml with current market price i have created one php file, in this i open the source xml(ratexml.xml) and admin charges and commissions stored in cache(used wincache) and perform some operation and finally sending response as xml format. For this i have created one service by using .net to call my php file for every 500 milliseconds.
For this to reduces external service calling from dot net service i planned to implement user page display stock prices in creating adapter itself. Is it possible to creating my php logic inside this adapter or shall I call php page for every second from adapter and assign value to adapter. Which one will be better? Please help any one to do this.
And also i have tried to create given stock sample adapter by using java. I couldn't run and check created sample java adapter code in eclipse. I used eclipse to create java adapter, its showing don't have main class. Please help for this also.
Similar Threads
-
By cvikander in forum Adapter SDKs
Replies: 2
Last Post: April 28th, 2014, 02:23 PM
-
By ehsank in forum General
Replies: 1
Last Post: December 30th, 2013, 09:32 AM
-
By Digambar in forum Client SDKs
Replies: 3
Last Post: August 8th, 2013, 05:10 PM
-
Replies: 1
Last Post: August 5th, 2013, 10:09 AM
-
By venkatreddy in forum Client SDKs
Replies: 1
Last Post: September 8th, 2008, 10:06 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 12:34 PM.
Bookmarks