Comments (13)
Thinking in Java book
from java-design-patterns.
I'll give it a try :)
from java-design-patterns.
I pushed a module in a new branch. Since I wasn't satisfied with the simple "I have my own thread"-implementation one can find everywhere, I implemented return values with futures and a task queue as well.
Would be glad if I get some comments. If the code is good, I will add readme and uml stuff.
Thanks :)
from java-design-patterns.
Real world example: http://doc.akka.io/docs/akka/2.4.1/java/typed-actors.html
from java-design-patterns.
Hello, can I work on this now?
from java-design-patterns.
Ok @Rzeposlaw it is yours.
from java-design-patterns.
@Rzeposlaw,
It will be nice to explain the difference between active object pattern and event-driven-architecture/event-asynchronous.
from java-design-patterns.
I think the two patterns have some similarities but they are different in many aspects. The main goal of the event asynchronous is to hide the complexity of a multi-threaded design. Normally, a user want to execute his tasks asynchronously so he delegates the tasks to another objects that control and supervise the execution of these tasks. For me, The pattern has a really narrow use case, and I see it mainly used in GUI applications when performing short background operations and publishing results to the UI thread.
For the active object it is a pattern used to decouple method invocation from its execution. It is a complex pattern that hold in its implementation other patterns. So here, it is about a client calling a proxy to benefit from a certain service not delegating a task of his. Also, while both pattern use multi-threaded environments, the active object introduces other concepts, like a scheduler which provide another layer of managing and prioritizing requests, a servant for defining the behavior and state, and also method requests and activation queue.
from java-design-patterns.
@Rzeposlaw are you still implementing this?
from java-design-patterns.
This issue is free again
from java-design-patterns.
Hey, @iluwatar I have implemented this pattern and ready to push to my branch.
May I please get permissions to commit and push?
from java-design-patterns.
from java-design-patterns.
@noamgrinch please follow the normal Github forking workflow. You don't need write access to this repository, you can fork it on your own account and propose changes from there. See Github's documentation.
from java-design-patterns.
Related Issues (20)
- Implement Server Session pattern HOT 3
- Upgrade htmlunit
- Composite View refactoring needed HOT 2
- Active record pattern HOT 2
- Fix subclass sandbox tests HOT 1
- Fix high severity issues reported by SonarCloud HOT 2
- Upgrade jackson-databind HOT 4
- Upgrade embedded mongo
- May I ask what design pattern is best for this kind of business? HOT 1
- Explanation for Combinator pattern
- Flaky test in Thread Local Storage
- Function Composition pattern
- Publish/Subscribe pattern HOT 5
- api-gateway - create a new class, PriceService to return the price to the controller HOT 2
- Upgrade mongo
- MapReduce design pattern
- Refactor Layered Architecture pattern HOT 1
- Service-Oriented Architecture pattern HOT 1
- Implement Virtual Proxy pattern HOT 1
- [Game Loop] Missing document in README
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-design-patterns.