ctron's blog

Projects

  • PatternFly Yew
  • Yew OAuth2
  • Trunk
  • OpenShift Update Graph
  • OIDC CLI
  • CSAF Walker
  • Maven RPM Builder

More

  • About
  • PGP Key
  • Attic

Reading Object Streams in OSGi

Reading an object from an ObjectInputStream is easy. But using OSGi it can be a little bit more difficult. Due to the class loader system of OSGi the ObjectInputStream might not know the class that was stored. Assume you have a Bundle A, B and C. B provides the storing capabilities that stores objects somewhere and C provides the data object itself. Now if A tells B to store some object from C this will not be a problem, since the object class is attached to the object instance. But reading back the object will result in a ClassNotFoundException since B has no reference to C and therefore does not know any classes of C.

Read more …
  • 2 minute read Jens Reimann
  • 2 March 2010
  • Development
  • #eclipse #osgi

Equinox Remote Terminal Console

Although Equinox offers some sort of remote TCP console it is not what you actually want to have. Being limited to one session, having not authentication and allowing the user to execute any command and shut down the OSGi container is not an option for a productive system.

Read more …
  • 1 minute read Jens Reimann
  • 25 February 2010
  • Development
  • #eclipse #equinox #java #osgi
⇤❬
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
❭

Recent Posts Archive

  • CSAF Walker: Working with CSAF providers in Rust
  • WebAssembly loading progress visualization with Trunk
  • ReSyMo: Remote System Monitoring
  • An OpenID Connect command line client
  • Release of Trunk 0.19.0

Categories All Tags

  • Development
  • Infrastructure
  • IoT
  • Open Source
  • Personal Stuff
  • Technical Stuff
© ctron's blog – All rights reserved
  • Disclaimer
  • Impressum / Impress
  • Datenschutzerklärung / Privacy Policy
Contact