Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Applicatoin Wrapper

Posted on 2011-02-17
3
Medium Priority
?
953 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 79

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 79

Accepted Solution

by:
arnold earned 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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 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.:
Suggested Courses

704 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