File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Helper class for customised Task
Joined: Apr 02, 2008
Apr 24, 2008 03:42:00
What is Helper class.Why we need that in our application.Can I write any helper class for my customised task
Joined: Dec 22, 2004
Apr 24, 2008 06:21:00
Your question might be way easier to answer if you specify (a) what your actual task is, and (b) what your "helper class" is supposed to do ... in general, you can create as many different classes as you like, for whatever purpose you like.
Joined: May 18, 2007
Apr 24, 2008 07:09:00
Helper classes are just a term that developers give to classes that are used to assist in providing some functionality, though that functionality isn't the main goal of the application.
A Helper class is a simple
class. It is used to reduce the amount of redundancy in your code. Basically, they are utility classes that may be used several times accross the application.
Can I write any helper class for my customised task
Yes. Indeed you can, but, the precise thing is that making a helper class just for the sake of separating a customised task may not be the best option, if it's just used at a single place.
Also, you may like to have a look at
[ April 24, 2008: Message edited by: Anubhav Anand ]
I agree. Here's the link:
subject: Helper class for customised Task
Double checked locking
How do I call method of jsp from servlets?
Formatting data for view
Writing Files in Tomcat?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014