jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes Server-side starter application - file handling. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Server-side starter application - file handling." Watch "Server-side starter application - file handling." New topic

Server-side starter application - file handling.

Alan Boxer

Joined: Feb 29, 2008
Posts: 2
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.


There are 10 types of people, those who appreciate binary and those who don't.
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

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!

[Jess in Action][AskingGoodQuestions]
Alan Boxer

Joined: Feb 29, 2008
Posts: 2
That's just what I need Ernest, thank you very much.

I agree. Here's the link: http://aspose.com/file-tools
subject: Server-side starter application - file handling.
It's not a secret anymore!