Skip to main content



      Home
Home » Eclipse Projects » Virgo » [Solved]Load Class from Workspace
[Solved]Load Class from Workspace [message #667390] Thu, 28 April 2011 09:29 Go to next message
Eclipse UserFriend
Hello,

I just wanted to know how to do a loadclass with classname writed on workspace?
For example, I have a class foo in virgo Workspace.
From my web application, I want to do a loadclass and use it.
I use a plugin which need to do a loadclass from there but it throws a NotFound exception.

Thanks Smile

[Updated on: Thu, 28 April 2011 17:45] by Moderator

Re: Load Class from Workspace [message #667400 is a reply to message #667390] Thu, 28 April 2011 10:26 Go to previous messageGo to next message
Eclipse UserFriend
The web application needs to be wired to the bundle which provides the class you want to load. The usual way to do this is in OSGi is for the web application to contain an import-package header in its manifest.
Re: Load Class from Workspace [message #667417 is a reply to message #667390] Thu, 28 April 2011 11:19 Go to previous messageGo to next message
Eclipse UserFriend
Sorry but I don't understand.
Could you explain more?
Re: Load Class from Workspace [message #667422 is a reply to message #667417] Thu, 28 April 2011 11:31 Go to previous messageGo to next message
Eclipse UserFriend
I would advise you to invest spend a day or two obtaining a thorough grounding in OSGi.

You can download the core specification from the OSGi Alliance web site and there are basic tutorials available there too.

Various books are available. I have just purchased OSGi in Action from Amazon.

If you concentrate on the modularity layer of OSGi, that should be sufficient to understand the basics for the problem you are looking at.

I don't want to give you partial information here and end up short-changing you.
Re: Load Class from Workspace [message #667460 is a reply to message #667390] Thu, 28 April 2011 17:45 Go to previous message
Eclipse UserFriend
Solved.
Thanks
Previous Topic:Dm-server vs Virgo
Next Topic:Scalablity/Peformance Benchmarks?
Goto Forum:
  


Current Time: Wed Jul 23 10:34:19 EDT 2025

Powered by FUDForum. Page generated in 0.06881 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top