Build and Package the Code
- For any application, developers write code and customers use application. What happens in between is different for different application types
- What are different Application Types?
- Thick Client/Desktop Applications:
- Examples: Chrome Browser, Microsoft Word, VLC Media Player
- Examples: Chrome Browser, Microsoft Word, VLC Media Player
- Thin Client/Web Based Applications:
- Examples: Facebook.com, Amazon.com etc.
- Examples: Facebook.com, Amazon.com etc.
- Mobile Applications:
- Examples: Whatsapp, moneycontrol etc
- Examples: Whatsapp, moneycontrol etc
- Thick Client/Desktop Applications:
Thin Client Application Build or Packaging
-
Code is compiled and then a package suitable to app/web server is created
-
Then this package is deployed on the app/web server
-
Deploy is copying the code and if required configuring the app/web server
-
Java-Maven into tomcat Example
- Get the code
- compile the code
mvn compile
- package the code
mvn package
- Now copy the war file to <tomcat-dir>/webapps
-
Dotnet Example into IIS Server
- Get the code
- Compile the code
msbuild <path to code csproj/sln>
- Package the code
msbuild /t:publish
- Now take this package and copy into C:\inetpub and configure the IIS server
Exercises
- Exercise-1: Find the Steps to deploy the java application into jboss
- Exercise-2: Find the Steps to deploy the python application into apache webserver