Solved

Applicatoin Wrapper

Posted on 2011-02-17
3
939 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 78

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 78

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

740 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