Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    REST + Hibernate

    Hi,


    I am pretty new to SmartGWT and GWT overall.

    My Question is, is it possibly to fetch data from a OracleXE Database using Hibernate and to provide it through a REST Service on the Server, retrieving the REST data on the client side.

    The idea behind that would be, to have a clear separated interface for all possible clients.

    So would it be possible to build an application in such way, if yes how would i approach it.
    Or would that be pointless, as i saw that the described ways to fetch data from the Server is "DataSource Communcation".

    Hopefully my question isn't absurd and someone can help me.


    Thanks a lot in advance,
    Paul

    #2
    Providing access to server-defined DataSources via a REST interface is an automatic capability of SmartGWT Pro+. See the QuickStart Guide, Server Framework chapter, look for RestHandler.

    If you aren't buying Pro+, and you want to provide a REST interface to SmartGWT, use RestDataSource. This is a well-documented protocol that other (non-SmartGWT) clients can use.

    Comment

    Working...
    X