Click here to Skip to main content
15,890,385 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: plugin Pin
Eddy Vluggen9-Sep-13 3:03
professionalEddy Vluggen9-Sep-13 3:03 
AnswerRe: plugin Pin
Albert Holguin8-Oct-13 7:44
professionalAlbert Holguin8-Oct-13 7:44 
QuestionDesing Layer Pin
Mahdi_kishislan8-Sep-13 18:59
Mahdi_kishislan8-Sep-13 18:59 
AnswerRe: Desing Layer Pin
Eddy Vluggen9-Sep-13 3:00
professionalEddy Vluggen9-Sep-13 3:00 
QuestionBespoke webserver structure ? Pin
purplehorace5-Sep-13 23:40
purplehorace5-Sep-13 23:40 
AnswerRe: Bespoke webserver structure ? Pin
jschell6-Sep-13 8:48
jschell6-Sep-13 8:48 
GeneralRe: Bespoke webserver structure ? Pin
purplehorace6-Sep-13 9:14
purplehorace6-Sep-13 9:14 
GeneralRe: Bespoke webserver structure ? Pin
Keld Ølykke8-Sep-13 6:01
Keld Ølykke8-Sep-13 6:01 
Hi Marc,

When a client sends a GET request to a socket the socket returns a byte array. The byte array can just be the content of a html-page; a html that on Apache would be a file, but in your case is hard coded by the java server.

Have a look at this: http://cs.au.dk/~amoeller/WWW/javaweb/server.html[^]

Whenever a client sends you a request, you can use the relative url and/or parameters to decide what kind of data the client needs. You then return a byte array that represents that need. Please notice that you can return embedded javascript that uses google chart to display data. The processing of the byte array is done client-side, so your server code do not need to be expensive in processing terms.

I hope it helps.

Kind Regards,

Keld Ølykke
GeneralRe: Bespoke webserver structure ? Pin
jschell8-Sep-13 8:13
jschell8-Sep-13 8:13 
QuestionHow to organize folders Pin
theitmueller3-Sep-13 20:07
theitmueller3-Sep-13 20:07 
AnswerRe: How to organize folders Pin
Bernhard Hiller3-Sep-13 22:56
Bernhard Hiller3-Sep-13 22:56 
AnswerRe: How to organize folders Pin
Keld Ølykke8-Sep-13 5:51
Keld Ølykke8-Sep-13 5:51 
AnswerRe: How to organize folders Pin
jschell8-Sep-13 8:37
jschell8-Sep-13 8:37 
QuestionQuestions Regarding OOPs Pin
userBeginner27-Aug-13 4:14
userBeginner27-Aug-13 4:14 
AnswerRe: Questions Regarding OOPs Pin
NotPolitcallyCorrect27-Aug-13 4:41
NotPolitcallyCorrect27-Aug-13 4:41 
AnswerRe: Questions Regarding OOPs Pin
Richard MacCutchan27-Aug-13 4:51
mveRichard MacCutchan27-Aug-13 4:51 
GeneralRe: Questions Regarding OOPs Pin
BotCar27-Aug-13 21:19
BotCar27-Aug-13 21:19 
GeneralRe: Questions Regarding OOPs Pin
Richard MacCutchan27-Aug-13 21:50
mveRichard MacCutchan27-Aug-13 21:50 
GeneralRe: Questions Regarding OOPs Pin
BotCar27-Aug-13 21:58
BotCar27-Aug-13 21:58 
GeneralRe: Questions Regarding OOPs Pin
Albert Holguin8-Oct-13 7:46
professionalAlbert Holguin8-Oct-13 7:46 
Questionwebservices architectures Pin
topcatalpha26-Aug-13 3:53
topcatalpha26-Aug-13 3:53 
AnswerRe: webservices architectures Pin
Richard MacCutchan26-Aug-13 4:11
mveRichard MacCutchan26-Aug-13 4:11 
QuestionDon't want the DAL layer to be referenced in the UI or UT layer Pin
benndonwload23-Aug-13 5:01
benndonwload23-Aug-13 5:01 
AnswerRe: Don't want the DAL layer to be referenced in the UI or UT layer Pin
benndonwload23-Aug-13 11:27
benndonwload23-Aug-13 11:27 
AnswerRe: Don't want the DAL layer to be referenced in the UI or UT layer Pin
jschell23-Aug-13 13:30
jschell23-Aug-13 13:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.