Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #30731
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Robbie Brown <rob@example.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Tables in a java web application? |
| Date | Sat, 17 Jan 2015 20:43:53 +0000 |
| Organization | A noiseless patient Spider |
| Lines | 52 |
| Message-ID | <m9ehhc$ndo$1@dont-email.me> (permalink) |
| References | <eb722af9-516c-42d1-96a0-51dc9eadcb02@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Sat, 17 Jan 2015 20:43:24 +0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="6281cb49e698a74a19529b09cbd72e87"; logging-data="23992"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/V3Cg8+LmfvEokF/rLQVnIzDJTk1po1n4=" |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 |
| In-Reply-To | <eb722af9-516c-42d1-96a0-51dc9eadcb02@googlegroups.com> |
| Cancel-Lock | sha1:e9YZtMHXOwKRfKLEL7aZvGIEF6M= |
| Xref | csiph.com comp.lang.java.programmer:30731 |
Show key headers only | View raw
On 16/01/15 01:45, BOB wrote: > I need to write a web application and that application needs to have a table of rows and columns. The user would select a row from that column and a mouse click event would be used to handle the row selection logic. > > I also need to be able to update that table Asynchronously. > > I've done java development for command line utilities and I've gone GUI development for desktop application in C/C++/VB etc, but I've never written a java application that requires a web interface. > > I've written javascript ... to handle client side events.... > > I'm missing a piece of a puzzle here. I don't think I want to learn flash. > > What piece am I missing? Where do we start? For a quick start get hold of a recent Tomcat servlet container see http://tomcat.apache.org/ For example Download Tomcat 7 http://tomcat.apache.org/download-70.cgi Read the docs http://tomcat.apache.org/tomcat-7.0-doc/index.html Particularly the First Webapp stuff http://tomcat.apache.org/tomcat-7.0-doc/appdev/index.html Deploy the example web app mentioned Then take it to bits look at web.xml, maybe add a simple servlet and a jsp. Then try and get a simple (javascript) script working read about AJAX (Asynchronous Javascript and And XML) Get your head around the SDK w3c DOM libraries With a servlet container, an understanding of Javascript and some experience writing servlets and jsps you should be able to get started. It's a non-trivial exercise quite frankly. There are a whole bunch of frameworks out there. Me, I roll my own, I don't use frameworks as in the end you spend too much time learning the framework, and there's always another one coming along. Do It Yourself, understand how it works then if you have to you can pick up any framework with the minimum of effort. Good luck and ask questions here if you get stuck -- Not floundering ... just fishing
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
Tables in a java web application? BOB <brian.obrien@calgaryscientific.com> - 2015-01-15 17:45 -0800 Re: Tables in a java web application? Arne Vajhøj <arne@vajhoej.dk> - 2015-01-15 21:52 -0500 Re: Tables in a java web application? Robbie Brown <rob@example.com> - 2015-01-17 20:43 +0000
csiph-web