Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 788769
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:25:12+00:00 2026-05-14T21:25:12+00:00

Is there any equivalent of Reactive Extensions (.NET) for Java? About Rx (Reactive Extensions)

  • 0

Is there any equivalent of Reactive Extensions (.NET) for Java?

About Rx (Reactive Extensions)

Rx is a library for composing asynchronous and event-based programs using observable collections.

I am aware of rule engines such as Drools from JBOSS, but is there some other way that is closer to the Microsoft .NET approach?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T21:25:12+00:00Added an answer on May 14, 2026 at 9:25 pm

    I’m not aware of one – and frankly it would be hard to do in such a neat fashion. The threading side is fine; Java’s perfectly capable when it comes to threading… but at the moment, the language just doesn’t support the appropriate features.

    One of the neat design features of LINQ is that everything is based on interfaces and then extension methods are used to add extra functionality. That allows code to read fluently – imagine if you had to write:

    IObservable<int> = Observable.Select(
                           Observable.Where(
                               source, x => x.SomeCondition)
                           x => x.SomeProjection);
    

    Ick. The extension method is much more graceful:

    IObservable<int> = source.Where(x => x.SomeCondition)
                             .Select(x => x.SomeProjection);
    

    Now a Java version could be based on an abstract base class instead, but that would lose some of the elegance.

    Next come lambda expressions and method group conversions – these really are fundamental to LINQ in general; the closest equivalent in Java (anonymous inner classes) are too ugly to be used everywhere you’d use a lambda expression in C#.

    Basically, a Java version of Rx would be feasible, but it wouldn’t be nearly as elegant as the C# version – which is probably why it hasn’t been done as far as I’m aware. There may be other “asynchrony-driven” libraries around for Java, but they’re unlikely to be as comprehensive and neat as Rx.

    It’s possible that the changes in Java 7 will make this more feasible; as far as I know extension methods aren’t being introduced, but an abstract base class version would be reasonable if the lambda syntax ends up being okay…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 399k
  • Answers 399k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Take a look at flash.utils.getDefinitionByName(). I haven't run this code,… May 15, 2026 at 4:00 am
  • Editorial Team
    Editorial Team added an answer Following more searching I'm pretty confident that this isn't possible.… May 15, 2026 at 4:00 am
  • Editorial Team
    Editorial Team added an answer DON'T DO IT There is simply far too much risk… May 15, 2026 at 4:00 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.