Wednesday, September 22, 2010

Re: What is the appropriate data structure for a list of books, their authors, and publication dates?

> Q1: I need a data structure suitable for the above description

How about a simple Book bean with properties for author, title, and
publication date?
To display the books on the client, a GWT FlexTable or Grid would be
very appropriate ...

> Q2: Is there someway I can automate conversion from Excel cells into a
> GWT readable format?

You can use the Apache POI library to read Excel files:
http://poi.apache.org/spreadsheet/index.html
Since GWT only allows a subset of the JDK on the client side, you will
almost certainly need to upload the Excel file and convert it on the
server.


On Sep 19, 8:45 pm, Carlo del Mundo <carlodelmu...@gmail.com> wrote:
> Q1: I need a data structure suitable for the above description
> Q2: Is there someway I can automate conversion from Excel cells into a
> GWT readable format?
>
> I have an Excel file containing close to 250 entries of Books with
> their authors and publication dates.
>
> I was thinking of using a table data structure, but I recognized that
> there are other data structures that may help (database?).
>
> Any help is appreciated.  Thanks!

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment