Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Server-side starter application - file handling.

 
Alan Boxer
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone, I've just arrived here from the Head Start book and thought I'd drop in for a while.

Although I used to scratch a living from software development I'm new to OO concepts in general and Java in particular. I'm only halfway through the book and looking for an excuse to use Java. After some little warm-ups on my laptop, I have an application in mind, a simple Web file server. But I've not done anything on the server-side before and would appreciate some hints.

In outline, a user at my web page will press a button and get a file downloaded. That file is bespoke for the user (a educational activity) so the file has to be created first. It might be just a simple concatenation of small files from a pool of files previously uploaded. So what would be the simplest approach that I should look into?

Head Start has short overviews of Remote Method Invocation, Servlets, JSP and JINI and so I guess I'm heading for one of these.

Any thoughts will be much appreciated.

Al
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Alan,

Welcome to JavaRanch!

For an application like this, you'd want to use JSP for the web page(s) themselves, and Servlets for the server code that "does something" (like assembling the files.) There's a "Head First Servlets and JSP" which I suspect you're going to want to check out!
 
Alan Boxer
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's just what I need Ernest, thank you very much.

Al
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic