Solved

Applicatoin Wrapper

Posted on 2011-02-17
3
936 Views
Last Modified: 2012-05-11
what is purpose of application wrappers in linux? and how to configure any one.
0
Comment
Question by:aashee
  • 2
3 Comments
 
LVL 77

Expert Comment

by:arnold
ID: 34917408
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
 

Author Comment

by:aashee
ID: 34917633
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
 
LVL 77

Accepted Solution

by:
arnold earned 500 total points
ID: 34919104
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

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Video Streaming 6 74
Can't ping New Linux Servers 40 67
number in printf 13 27
blank screen when trying to setup Unity on Ubuntu 14.04 8 18
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question