M
M
milky_cookie2012-02-01 08:26:57
Java
milky_cookie, 2012-02-01 08:26:57

Java - passing data from servlet to display?

Good morning!
I have a perhaps trivial, but very important task - it is necessary to implement the optimal transfer of various data structures according to the following scheme:
DB --> Servlet --> display using HTML5
I wanted to ask more experienced Java developers - how can I best organize this, with taking into account the minimization of traffic?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
B
barker, 2012-02-01
@barker

Um… traffic between the database and the servlet or between the servlet and the client? Or what in general? What is “transfer of various structures” anyway? Refine the task. There are at least a hundred ways to implement your scheme. Maybe you mean just working with the database through the web interface?

M
Maxim Kuzovlev, 2012-02-01
@KY3EH

Look at JSON and jQuery .

K
Kirill Mamaev, 2012-02-02
@r00tGER

Server:(DB-Servlet)-Traffic:(xml/json)-Client:(JS/frameworks).
Or you can generate ready-made html directly in the servlet.
> The data can be various - from the text to pictures
Pictures are usually stored in the form of a way in a DB - the same text.

T
tonyvelichko, 2013-02-09
@tonyvelichko

Gwt or vaadin if you don't want to write in js.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question