【问题标题】:GWT: Retrieving data from Postgres in GWT CellTableGWT:从 GWT CellTable 中的 Postgres 检索数据
【发布时间】:2012-03-25 20:07:06
【问题描述】:

我有一个 LinkedList

/**
   * The list of data to display.
   */
private static final List<Contact> CONTACTS = new LinkedList<Contact>(Arrays.asList(
        new Contact("Some string", "1234", "5678")));

现在我想从 Postgres 中检索这些数据,而不是这个列表。我不知道我该怎么做。一个例子会很棒!谢谢。

【问题讨论】:

  • 我需要在 CellTable 中检索数据

标签: java postgresql gwt gwt-rpc postgresql-9.1


【解决方案1】:

查看 Google Developers 的 RPC tutorial。它建立在他们的 stockwatcher 项目之上,并解释了使用 gwt 的客户端-服务器解决方案的基础知识。

对于您的项目,您需要一个可以响应数据库数据的服务。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多