Use XML over http.
The benefits are:
1)it goes through firewalls.
2)it is readable so easy to debug.
3)you'll be ready if you ever
want to do a cutdown version in DHTML.
4)there are lots of good parsers
The down side is that you put more
bytes over the wire than needed,
but since you are using swing, I guess
you are on an intra net anyway.
Also XML generators are a bit thin on the ground.
Gary Wesley <[EMAIL PROTECTED]> wrote:
__________
>But what if I really need to use Swing (mandated by my boss)?
>How to communicate?
>
>Gary
>
>Tim Panton - Westhawk Ltd wrote:
>>
>> Depending on the exact requirements- internet or intranet,
>> complexity of ui etc- you may
>> well be able to get what you need
>> without the swing applet by using
>> html with javascript.
>> Try getting a good web designer
>> to do a prototype, I think you might
>> be suprised. (I was!)
>>
>> T.
>>
>> Gary Wesley <[EMAIL PROTECTED]> wrote:
>> __________
>> >Dudes,
>> >
>> >I am wanting to build a 3-tier system with a Swing GUI for
>> >accessing Oracle. I think I need
>> >1) Swing Applet to gather the query and display table
>> >2) Servlet to access DB with JDBC
>> >3) A way to communicate between (give query, get resultSet)
>> >
>> >For 3) should I use HTTP, RMI, and/or Object serialization
>> >
>> >What do you think?
>> >
>> >Gary Wesley
>> >Dialog Corp.
URL http://www.westhawk.co.uk/
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html