Tags : Browse Projects

Select a tag to browse associated projects and drill deeper into the tag cloud.

Spring ME

Compare

  Analyzed 11 months ago

Spring ME provides an implementation of Spring to Java based platforms not supporting reflection. Think Java ME and GWT. It allows you to use a plain old Spring application context, and turn that into a BeanFactory you can use at runtime.

7.79K lines of code

0 current contributors

over 7 years since last commit

0 users on Open Hub

Activity Not Available
0.0
 
I Use This
Licenses: No declared licenses

jazzmaster

Compare

  Analyzed almost 3 years ago

Jazzmaster is an application framework developed by Eiichiro Uchiumi (Eiichiro.org) and can be performed on JDK 5 and later Java platform. Using Jazzmaster framework, you can construct the application from the small one which is processed on a command line to the large one like enterprise ... [More] application on the paradigm of SOA (Service-Oriented Architecture). The application which is built by composing the appropriately-modularized services on the Jazzmaster framework certainly improves the flexibility for change and the development agility, according to the scale growing. Jazzmaster is composed of the following modules: Core AspectJ integration Jazzmaster examples are running on Google App Engine for Java! http://jazzmaster-examples.appspot.com/ NewsDec 16, 2009 - Jazzmaster 1.2.1 has been releasedAug 29, 2009 - Jazzmaster 1.2.0 has been releasedJazzmaster 1.2.0 has been released. Some defects have been fixed and some issues have been improved. Please check the following issue:  Issue 6 : org.eiichiro.jazzmaster.deployment.Stage needs new entry for emergency deployment Jun 15, 2009 - Jazzmaster 1.1.0 and Jazzmaster AspectJ 1.0.2 has been releasedWith Java Pet Store Reference Application on Google App Engine release, Jazzmaster have been updated as well. Some defect have been fixed and some issues have been improved. Please check the following issues:  Issue 1 : Failed to build with Maven, even though succeeded with Eclipse JDT  Issue 2 : java.util.ConcurrentModificationException is thrown when ServletRequest is destroyed  Issue 3 : Service proxy (service invocation handler) cannot be serialized  Issue 4 : Imperative service configuration (declaring org.eiichiro.jazzmaster.service.Service extension class) does not support lifecycle callback declaration  Issue 5 : Jazzmaster takes a amount time for deployment [Less]

126K lines of code

0 current contributors

over 6 years since last commit

0 users on Open Hub

Activity Not Available
0.0
 
I Use This

Java Syringe

Compare

  Analyzed over 6 years ago

Small embeddable dependency injection framework for Java that is environment-aware.

739 lines of code

0 current contributors

almost 8 years since last commit

0 users on Open Hub

Activity Not Available
0.0
 
I Use This

candi-stripes

Compare

  Analyzed about 1 year ago

This project will be an extension for stripes to enable support for CanDI (JSR-299: Context and Dependency Injection). It will supply extensions to stripes to enable JSR-299 injection (and context) support. Initially there is support for Resin, JBoss, and Apache containers. Take a look at the HomePage for more info.

225 lines of code

0 current contributors

almost 8 years since last commit

0 users on Open Hub

Activity Not Available
0.0
 
I Use This

atinject

Compare

  Analyzed about 1 year ago

Welcome to the home of JSR-330: Dependency Injection for Java. We released the final specification for the annotations on October 13th, 2009. You can view the raw materials of the specification at any time in source control. If you want to follow our progress, we automatically forward messages ... [More] from the expert group mailing list to an observer mailing list which anyone can join. [Less]

3.8K lines of code

0 current contributors

about 7 years since last commit

0 users on Open Hub

Activity Not Available
0.0
 
I Use This

yasdic

Compare

  Analyzed about 1 year ago

29/10/2009 : I will not improve this project anymore. If you are looking for a good Dependency Injection framework on Android, I suggest you to try out Guice no-aop. I am currently using the excellent robo-guice (http://code.google.com/p/robo-guice/) framework, which still has no stable release as ... [More] of today. Yasdic 1.0 release is available! Feel free to download it! Yasdic stands for Yet Another Small Dependency Injection Container. And that's what it is: nothing more then one class, one inner class, and three exceptions. It was first designed to enable dependency injection on Android applications without impacting performances, but it actually may be used anywhere. What is dependency injection ? Here is a good explanation. Yasdic uses a String unique id to identify each bean. It can easily deal with singleton and prototype scopes, cyclic dependency, and container hierarchy. The beans are lazily created, i.e. a bean and its dependencies are created only when you call the getBean("myBean") method on the container. Yasdic provides dependency injection without using any reflection mechanism. Reflection should be avoided when targeting performances on mobile devices. I created two example projects on the svn to help you getting started with Yasdic: smallmvc (Java basic application following the MVC pattern), and countadroid (Android counter application). Right there. You are free to checkout the svn and start using Yasdic here. I am already using Yasdic in some Android applications (have a look at SugaDroid). You are welcome to review the code and give any feedback on this project. If you use Yasdic in your project, please send me a mail and I will create a dedicated page with the projects list. This project was started on the 20th of June 2009. Quick usageDefinition of a "myController" bean that has two constructor dependencies ("myService" and "myView"): container.define("myController", new BeanDef() { public IController newBean(YasdicContainer c) { return new ControllerImpl((IService) c.getBean("myService"), (IView) c.getBean("myView")); } });And to actually get the bean created and use it: //The "myService", "myView" and "myController" beans are created and injected. IController controller = (IController) container.getBean("myController"); Pimple & YasdicYasdic is actually quite inspired from Pimple, written in PHP: http://github.com/fabpot/Pimple Here is a quick comparison on how to do about the same thing: In PHP using Pimple$container = new Pimple(); $container->cookie_name = 'SESSION_ID'; $container->storage_class = 'SessionStorage'; $container->storage = function ($c) { return new $c->storage_class($c->cookie_name); }; $container->user = $c->asShared(function ($c) { return new User($c->storage); }); $user = $container->user; In Java using YasdicYasdicContainer container = new YasdicContainer(); container.define("cookie_name", "SESSION_ID"); container.define("storage_class", SessionStorage.class); container.define("storage", false, new BeanDef() { protected IStorage newBean(YasdicContainer c) { try { IStorage storage = (Class) c.getBean("storage_class").newInstance(); storage.setCookieName((String) c.getBean("cookie_name")); return storage; } catch (Exception e) {throw new RuntimeException(e);} } }); container.define("user", new BeanDef() { protected User newBean(YasdicContainer c) { return new User((IStorage) c.getBean("storage")); } }); User user = (User) container.getBean("user"); Some more examplesWhat about cyclic dependency ? Let say we have a "myCycle1" bean that needs a "myCycle2", and a "myCycle2" bean that needs a "myCycle1". You might try to define it this way: container.define("myCycle1", new BeanDef() { public Cycle newBean(YasdicContainer c) { return new Cycle((Cycle)c.getBean("myCycle2"); } }); container.define("myCycle2", new BeanDef() { public Cycle newBean(YasdicContainer c) { return new Cycle((Cycle)c.getBean("myCycle1")); } }); container.getBean("myCycle1"); // Throws a CyclicDependencyRuntimeExceptionThis would lead to a CyclicDependencyRuntimeException (if Yasdic didn't detect cyclic dependencies, you would get a StackOverflowError). To avoid cyclic dependencies, you may use setter injection instead of constructor injection, combined with using the initBean method, to implement late injection: container.define("myCycle1", new BeanDef() { public Cycle newBean(YasdicContainer c) { return new Cycle(); } public void initBean(YasdicContainer c, Cycle bean) { bean.setCycle((Cycle)c.getBean("myCycle2")); } }); container.define("myCycle2", new BeanDef() { public Cycle newBean(YasdicContainer c) { return new Cycle(); } public void initBean(YasdicContainer c, Cycle bean) { bean.setCycle((Cycle)c.getBean("myCycle1")); } }); container.getBean("myCycle1"); // No problemBean are defined at compile time (since it is done using anonymous classes), but you can still make the dependency injection dynamic. Let say we have a myController bean that requires a IView dependency, but the actual implementation (ContactView or CrazyView) that should be used depends on a runtime condition. You could define one or the other depending on the condition: container.define("myController", new BeanDef() { public IController newBean(YasdicContainer c) { return new ControllerImpl((IView) c.getBean("myView")); } }); if(someCondition) { container.define("myView", new BeanDef() { public IView newBean(YasdicContainer c) { return new ContactView(); } }); } else { container.define("myView", new BeanDef() { public IView newBean(YasdicContainer c) { return new CrazyView(); } }); } IController controller = (IController) container.getBean("myController");You could also define both, and require one or the other in the controller, depending on a viewName parameter: container.define("myController", new BeanDef() { public IController newBean(YasdicContainer c) { return new ControllerImpl((IView) c.getBean((String)c.getBean("viewName"))); } }); container.define("contactView", new BeanDef() { public IView newBean(YasdicContainer c) { return new ContactView(); } }); container.define("crazyView", new BeanDef() { public IView newBean(YasdicContainer c) { return new CrazyView(); } }); if(someCondition) { //This is how we inject a singleton bean already created in the container //It can easily be used to define property values container.define("viewName", "contactView"); } else { container.define("viewName", "crazyView"); } IController controller = (IController) container.getBean("myController");You could finally define a myView bean with the implementation depending on a condition parameter: container.define("myController", new BeanDef() { public IController newBean(YasdicContainer c) { return new ControllerImpl((IView) c.getBean("myView")); } }); container.define("myView", new BeanDef() { public IView newBean(YasdicContainer c) { if ((Boolean)c.getBean("someCondition")) { return new ContactView(); } else { return new CrazyView(); } } }); container.define("someCondition", (Boolean) someCondition); IController controller = (IController) container.getBean("myController"); [Less]

2.48K lines of code

0 current contributors

over 7 years since last commit

0 users on Open Hub

Activity Not Available
0.0
 
I Use This

pioc

Compare

  Analyzed about 1 year ago

PIoC helps you design better APIs. It alleviates the need for factories and the use of new in your PHP code. You will still need to write factories in some cases, but your code will not depend directly on them. Your code will be easier to change, unit test and reuse in other contexts. TODO: Add ... [More] Scope to bindings (Singleton, PerRequest, etc.) Add UnitTests Add documentation to code Update Wiki Manage Circular Dependencies Add field strategy support if using PHP 5.3 [Less]

226 lines of code

0 current contributors

almost 8 years since last commit

0 users on Open Hub

Activity Not Available
0.0
 
I Use This

as3guice

Compare

  Analyzed over 1 year ago

as3guice lightweight dependency injection framework for actionscript3 inspired by google-guice.

1.86K lines of code

0 current contributors

over 7 years since last commit

0 users on Open Hub

Activity Not Available
0.0
 
I Use This

coreapi-webkits

Compare

  Analyzed about 1 year ago

There are a lot of web framework out there for java, so what its the problem now ?? why need another framework. The Reason : Most of them bulk and not easy to use. Not lightweight for agile development. Hard to learn for newbie. CoreAPI-WebKitsit is a lightweight web framework based on ... [More] Guice,easy to use and easy as starting point for learning web technology. "Keep simple, complex is possible" [Less]

887 lines of code

0 current contributors

about 8 years since last commit

0 users on Open Hub

Activity Not Available
0.0
 
I Use This

kiwicontainer

Compare

  Analyzed about 1 year ago

Inversion of Control (IoC) container for .NET with emphasis on .NET 3.5 features, Asp.Net and Asp.Net/Mvc integration.

24.7K lines of code

0 current contributors

almost 8 years since last commit

0 users on Open Hub

Activity Not Available
0.0
 
I Use This