Git Product home page Git Product logo

distributed-computing-with-ice's Introduction

Distributed-computing-with-ICE

Project with ICE and distributed programming and making a fibonacci algorithm

We will use Gradle to create our application projects. You must install Gradle before continuing with this tutorial. Open a new Command Prompt and run the following commands to generate a new project:

The main design goals of Ice are:

  • Provide an object-oriented RPC framework suitable for use in heterogeneous environments.
  • Provide a full set of features that support development of realistic distributed applications for a wide variety of domains.
  • Avoid unnecessary complexity, making the platform easy to learn and to use.
  • Provide an implementation that is efficient in network bandwidth, memory use, and CPU overhead.
  • Provide an implementation that has built-in security, making it suitable for use over insecure public networks.

Configuration ๐Ÿ‘“

For this demo we're going to use a project with two sub-projects to build the Client and Server applications. The requirements for our sub-projects are the same so we'll do all the setup in the subprojects block of the root project, which applies to all sub-projects. Edit the generated build.gradle file to look like the one below:

...
"Class-Path": configurations.runtimeClasspath.resolve().collect { it.toURI() }.join(' ')
...

We must also edit the generated settings.gradle to define our sub-projects:

rootProject.name = 'printer'
include 'client'
include 'server'

Compiling the client and server โญ๏ธ

./gradlew :server:build
./gradlew :client:build

Run the java jars to execute the program ๐ŸŽ‡

Configure the host of the server in the config.server file

java -jar server/build/libs/server.jar
java -jar client/build/libs/client.jar

The client runs and exits without producing any output; however, in the server window, we see the fibonaccidd that is produced by the printer. To get rid of the server, we interrupt it on the command line for now.

distributed-computing-with-ice's People

Contributors

camilocj09 avatar johan794 avatar

Watchers

 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.