Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Member
    Join Date
    Nov 2006
    Location
    Belfast
    Posts
    15

    DynaMetapushTable server-side code

    Just wondering if it was possible for you to post the server-side code for the http://app.lightstreamer.com/PagedPortfolioDemo/ example? Having an issue trying to get my own DynaMetapushTable to initialise...

    cheers

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    517
    The full source code for the Portfolio Demos (both client side and server side) is available from lightstreamer.com/share/PortfolioDemos.zip.

    For a good comprehension some knowledge of Java, JMS, servlets, Tomcat and JBoss is advised.

    ***EDIT 24-09-2009*** The Demo has been replaced by a new version based on much simpler server-side code.

  3. #3
    Senior Member
    Join Date
    Jul 2009
    Location
    sofia
    Posts
    40
    Hi, is this example compatible with jboss 5.10. I didn't manage to run it. Where should i specify this:
    <!-- JNDI binding for the online demos -->

    <attribute name="ConnectionFactoryJNDIRef">MFI.jms.Connection Factory</attribute>


    Regards.

  4. #4
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hi,
    please note that we've changed our PortfolioDemo to run without JMS.

    For a JMS example please checkout the DOCS-SDKs/sdk_adapter_java/examples/StockListDemo_JMS_DataAdapter folder that you can find in Lightstreamer distribution.

    Then return back to me if you have any doubt.

  5. #5
    Member
    Join Date
    Jul 2009
    Location
    daleko
    Posts
    7

    .NET source code

    Hi,
    Is it possible to get server-side code for the http://app.lightstreamer.com/PagedPortfolioDemo/ example for .NET?

  6. #6
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    975
    The PagedPortfolioDemo example that is available on our website
    is only implemented in java for the Adapter side.

    On the other hand, a revised version of the demo
    (which is no longer based on JMS)
    is now included in Lightstreamer distribution package.
    It needs 2 different Data Adapters,
    one for the portfolio management and one for the stock quotes management,
    and a Metadata Adapter that manages all types of requests
    and can communicate with the portfolio Data Adapter to notify
    client buy-sell requests issued through "sendMessage".

    The Adapter source code for this demo is still provided in java
    (see DOCS-SDKs\sdk_adapter_java\examples\Portfolio_Adapters
    and DOCS-SDKs\sdk_adapter_java\examples\StockListDemo_DataA dapter)
    but, for the stock quotes Data Adapter, a .NET version is also provided
    (see DOCS-SDKs\sdk_adapter_dotnet\examples\DotNetStockListDe mo).
    A .NET version of the portfolio Data Adapter and the Metadata Adapter
    is being prepared and will be included in the distribution package with the next release.

  7. #7
    Member
    Join Date
    Jul 2009
    Location
    daleko
    Posts
    7
    Thx,

    But I have another question, do havy maby any example of .NET client or server side code which uses DynaMetapushTable. I'm fighting with this for 5 days and I can't make it to work. Please help. Thx

  8. #8
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    975
    For what concerns the client side,
    no advanced demos are available for .NET.
    Note that we provide visual widgets ready to be included in the front-end,
    like the DynaMetapushTable,
    only for the HTML and Flex client libraries.
    In the .NET client library (as well as the java client library),
    we only provide a low level, nonvisual access layer.

    For what concerns the server side,
    the Portfolio Data Adapter is the only one that we provide
    in order to demonstrate COMMAND mode items
    that can feed a DynaMetapushTable on the client page.
    At the moment, we have got a preliminary porting
    of the Portfolio Demo Adapters written in C# for .NET,
    that we can send you via private message.

    Otherwise, we can answer to specific questions.

  9. #9
    Member
    Join Date
    Jul 2009
    Location
    daleko
    Posts
    7
    I would be very grateful for the preliminary porting. So if it is possible please send it to my e-mail. Thank you.

  10. #10
    Member
    Join Date
    Jul 2009
    Location
    daleko
    Posts
    7

    :(

    I din't get any anwser Could You write maby an .NET example for chat demo. Maby that would clear something in my had because I'm fighting with the java code but i isn't going very well. Please help.

 

 

Similar Threads

  1. Server side localization
    By mve.autocom in forum Adapter APIs
    Replies: 2
    Last Post: September 30th, 2010, 10:02 AM
  2. Replies: 29
    Last Post: July 14th, 2009, 10:57 AM
  3. Replies: 3
    Last Post: May 14th, 2008, 11:01 AM
  4. DynaMetapushTable and Its Java Adapter
    By burakalpugan in forum Adapter APIs
    Replies: 2
    Last Post: April 11th, 2008, 04:16 PM
  5. Reset DynaMetapushTable
    By garyj in forum Adapter APIs
    Replies: 1
    Last Post: March 25th, 2008, 10:03 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 07:09 AM.