GithubHelp home page GithubHelp logo

vynnykvv / dependency-management.hw1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from changerequest/dependency-management.hw1

0.0 1.0 0.0 74 KB

Dependency Management. Home Work 1

License: Apache License 2.0

dependency-management.hw1's Introduction

Dependency Management. Home Work 1

0. Preconditions

All tasks should be done only with raw JDK tools:

  • javac
  • jar
  • etc

1. Create Client interface JAR

Create new project and declare new interface named Client, that will have following contract:

public interface Client{
    void setName(String name);
    void sayHello();
}

Create custom manifest file and fill following properties with your information:

  • Specification-Title - The value is a string that defines the title of the extension specification
  • Specification-Vendor - The value is a string that defines the organization that maintains the extension specification
  • Build-Date - The value is a string that defines the date on which JAR file was build in following format: YYYY-MM-DD

Be sure to have appropriate package structure.

Prepare .bat/.sh script that should perform following:

  • compile Client interface
  • create .jar file with compiled class and custom MANIFEST.MF

2. Create Client implementation executable JAR

Create new project and declare new implementation of Client interface named ConsoleClient.

This implementation should work with user input and system error output.

Create Main class, that creates new Client instantiated with ConsoleClient instance and:

  • ask for user name
  • greet user

Create custom manifest file and fill following properties with your information:

  • Main-Class - The value is a string that denotes entry point of application
  • Specification-Title - The value is a string that defines the title of the extension specification
  • Specification-Vendor - The value is a string that defines the organization that maintains the extension specification
  • Build-Date - The value is a string that defines the date on which JAR file was build in following format: YYYY-MM-DD

Prepare .bat/.sh script that should perform following:

  • compile ConsoleClient and Main classes
  • create executable .jar file

Prepare .bat/.sh script that should perform following:

  • run executable .jar file with needed dependencies

dependency-management.hw1's People

Contributors

xsavikx avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.