Applicatoin Wrapper

what is purpose of application wrappers in linux? and how to configure any one.
aasheeAsked:
Who is Participating?
 
arnoldConnect With a Mentor Commented:
A wrapper can provide functionality the application does not have.
Or set parameters prior to executing the application.
Often to run a specific type of a java app, certain Environment variables have to be set.
A wrapper can be a shell script that prompts the user for some input and then runs the application with the user's responses passed.

i.e. you have an application that you have to retain
so instead of running application parameter parameter parameter parameter parameter parameter parameter
YOu have a shell script that prompts the user and then executes this application.

A more common use of a wrapper dealt with the wrapper being an SUID which meant the application was run under a different set of credentials.
0
 
arnoldCommented:
A wrapper is a process that wraps an application/program.
http://www.unix.com/unix-dummies-questions-answers/28217-what-wrapper-script-how-write.html

it depends on what the requirements are does it need to only set environement variables for the underlying application to run?

You tend to pose a one sentence questions that can easily be answered by a quick web search.
it
0
 
aasheeAuthor Commented:
hi arnoid,
but why do we create wrappers. whats the difference between application and wrapper.
my understanding is that wrapper is after we pass parameters to application . is that correct ?
0
All Courses

From novice to tech pro — start learning today.