SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
Kengkaj Sathianpantarit wrote:It's just calling services or does something more?
Spring Boot in Action - Spring made easy!
Spring in Action - Build powerful applications!
Build Talking Apps for Alexa - Add voice to your applications!
SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
Kengkaj Sathianpantarit wrote:Thanks. So consuming OSGi services does cover services discovery, and services calling. Sounds much like web services.
Do OSGi services have services description? So in the case that there are more than one service, it's possible for users to select a service or services to execute.
Spring Boot in Action - Spring made easy!
Spring in Action - Build powerful applications!
Build Talking Apps for Alexa - Add voice to your applications!
Craig Walls wrote:
Do OSGi services have services description? So in the case that there are more than one service, it's possible for users to select a service or services to execute.
Like I said...you ask the registry for a service by its interface. The consumer already has the interface in hand (probably because it imported it from another bundle). What could be a better service description than it's interface?
SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
Kengkaj Sathianpantarit wrote:I mean textual description. By users I mean human users (or any intelligent agents), interface is not enough, because you know it's only interface, the caller wouldn't know what would be an implementation.
I think it would be nice if OSGi services can have user-friendly description similar to JavaDoc, because if there are more than one service available, the application would have a choice to let the user decide what services should be executed.
Spring Boot in Action - Spring made easy!
Spring in Action - Build powerful applications!
Build Talking Apps for Alexa - Add voice to your applications!
It wasn't my idea to go to some crazy nightclub in the middle of nowhere. I just wanted to stay home and cuddle with this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|