Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

OSGi and Spring learning curve

 
Ranch Hand
Posts: 701
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'd like to know if OSGi and Spring demand too many time for studying. How is the learning curve for it?
Consider someone who already knows Java.

Thank you.
 
best scout
Posts: 1294
Scala IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Rogerio,

I don't have much practical experience with OSGi/Spring myself but from what I know, it may depend largely on what exactly you mean with "Spring". Spring itself consists of many more sub-frameworks. So the time for studying may vary a lot.

Marco
 
author
Posts: 422
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Marco Ehrentreich wrote:I don't have much practical experience with OSGi/Spring myself but from what I know, it may depend largely on what exactly you mean with "Spring". Spring itself consists of many more sub-frameworks. So the time for studying may vary a lot.



Right. At the core of Spring is dependency injection (DI). And DI is a fairly simple concept. If you know how to write setter methods, then you already know the hardest part. Sure, the whole Spring portfolio builds on top of that, but there's no need for you to learn EVERYTHING about Spring. Start with DI, then branch out to AOP...then I'd suggest trying out the persistence support (for JDBC and ORM frameworks). Then give Spring @MVC a spin. But you don't have to follow my advice...just learn a little at a time. That's the nice thing about Spring is that it offers a lot of stuff, but you don't have to learn all of it to benefit from any of it.

OSGi is kinda the same way. There's a lot of compendium stuff associated with OSGi, but the core is fairly straightforward. You can have your very first OSGi bundle up and running in less than an hour (including time to download an OSGi framework)...from there you can decide an exploration path that suits you best.

 
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Spring Framework has many modules. If you mean Spring IoC, I think you can learn basic of Spring IoC in 10 minutes or maybe 5 minutes .
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic