/razpub/README.txt

http://razpub.googlecode.com/ · Plain Text · 52 lines · 36 code · 16 blank · 0 comment · 0 complexity · 4612be74e6708dcd734cd53c008ca318 MD5 · raw file

  1. This code is copyrighted by Razvan Cojocaru and presently shared under the Apache license...see LICENSE.txt
  2. What's this?
  3. ------------
  4. Lots of under-piping code that I wish I didn't have to write but needed to.
  5. Why?
  6. ----
  7. Well, just like i wish I didn't have to write it, there's no point in making others write it,
  8. should they need it. It's not like it's anything smart so far and possibly not useful, but
  9. maybe others find it useful. The more the better.
  10. Details
  11. -------
  12. See com.razie.pub's package-info.java and the others, for up-to-date details. Here's an abstract.
  13. The aim is to support a grid/fabric like framework for smart assets. Read-on to figure out the pieces of the puzzle :)
  14. There's a very simple and light and especially embedded http server.
  15. On top of this there's a simple LightSoa framework, which allows you to easily create "services":
  16. just have a Java class, annotate the methods you want available over http and register it with the server.
  17. While the servlet thing is great, it's not that easy to use and most services/methods are really simple
  18. and this way you can test them either directly by Java calls or via the http server.
  19. Assets - bastardized word, but here it is. You can think of them as ManagedEntities (see OSS/J) or something
  20. like stateful beans. Just like services are simple classes (one instance to serve all), the assets are
  21. individual objects which you can access remotely. They however have state and could be persisted.
  22. They are developed much like the services (annotated methods).
  23. There's some very basic multi-threading support (life), which keeps track of the threads and what they're doing.
  24. I envision some beings jumping up and down inside the program, which need to breathe(). There's also workers which
  25. only process() something.
  26. Two things I'm investigating are drawing and streaming.
  27. Drawing - basically any code anywhere will draw something. Even if it doesn't, the objects it uses could be seen by
  28. someone somewhere, be it a web page, AJAX, SVG, Eclipse, SWING ... god knows what. So, here's a simple and
  29. generic drawing framework.
  30. Streaming - instead of hard-coding the communication protocols throughout the code, I'm trying to abstract the basics
  31. of a communications framework.
  32. Roadmap
  33. -------
  34. I will only maintain this as I need to. If there's some large user community developing (doubt that, really),
  35. we'll see - I could co-op some volunteers.
  36. I will add more code as I need it/write it for all kinds of reasons.