Author Archives: javarchive

About javarchive

I'm swimming into the depth of Java world

Shorcut issue with Apache on Windows

I usually use Linux, but a few days ago my wireless driver stopped working. I don’t know why, anyway, no time to figure it out. So I have to use Windows when developing websites with Apache. I’ve already installed Zend … Continue reading

Posted in Tips | Tagged , , , | Leave a comment

Remove all dependency lookups in Spring application

Dependency lookup is a call to any method on a Spring Container’s bean factory in your app. It is used for retrieving a bean from another bean. It may be of use in a circumstance where a bean needs to … Continue reading

Posted in Tips | Tagged , , , | 2 Comments

Building a simple EJB application

Enterprise JavaBeans (EJB) technology is the server-side component architecture for Java Platform, Enterprise Edition (Java EE). EJB technology enables rapid and simplified development of distributed, transactional, secure and portable applications based on Java technology. In this tutorial, I will show … Continue reading

Posted in My Tuts | Tagged , | 3 Comments

Hello World! Using OSGi Framework – Part V

Previous: Hello World! Using OSGi Framework – Part IV Creating a service factory In the last section you learned how to use the OSGi framework to create a Java object and register it as service to be consumed by any … Continue reading

Posted in Archives | 1 Comment

Hello World! Using OSGi Framework – Part IV

Previous: Hello World! Using OSGi Framework – Part III Class-level scope If you try running the sample service package now it will print “Hello World” on your Eclipse console. If you try running Activator.java to access HelloServiceImpl.java and compile it with the … Continue reading

Posted in Archives | 2 Comments

Hello World! Using OSGi Framework – Part III

Previous: Hello World! Using OSGi Framework – Part II The OSGi console The OSGi console is a command-line interface to the OSGi container. It allows you to do things like start, stop, install bundles, and update or delete bundles. In … Continue reading

Posted in Archives | 2 Comments

Hello World! Using OSGi Framework – Part II

Developing a Hello World bundle Previous: Hello World! Using OSGi Framework – Part I In OSGi, software is distributed in the form of a bundle. A bundle consists of Java classes and other resources that deliver functions to device owners, as … Continue reading

Posted in Archives | 2 Comments

Hello world! Using OSGi framework – Part I

The Open Services Gateway Initiative (OSGi) defines an architecture for developing and deploying modular applications and libraries. In this first article in a three-part introduction to OSGi, Sunil Patil gets you started with OSGi development concepts and shows you how … Continue reading

Posted in Archives | Leave a comment