Questions tagged [real-time-java]

Real time Java is a catch-all term for a combination of technologies that allows programmers to write programs that meet the demands of real-time systems in the Java programming language.

The term real-time Java is usually referring to a technology that allows developers to develop Java programs for real-time systems.

To overcome typical real time difficulties, the Java Community introduced a specification for real-time Java, JSR001, called Real-Time Specification for Java (RTSJ).

RTSJ is the most widely known implementation of real-time Java and the two terms are often used interchangeably.

18 questions
31
votes
7 answers

Is a garbage collector (.net/java) an issue for real-time systems?

When building a system which needs to respond very consistently and fast, is having a garbage collector a potential problem? I remember horror stories from years ago where the typical example always was an action game where your character would stop…
Toad
  • 15,593
  • 16
  • 82
  • 128
20
votes
4 answers

Who Uses Real Time Java?

I noticed that Real Time Java 2.2 was released back in September, seems to have come a long way from when I last looked at it. However, does anybody know of any real world uses, commercial or academic to…
Jonathan Holloway
  • 62,090
  • 32
  • 125
  • 150
6
votes
3 answers

Real time thread synchronization with normal threads

How would one synchronize one real-time thread with a normal thread in Java? Take for example a real-time thread that calculates some temperatures and the GUI thread that has to collect those numbers and show them on some controls. The…
hyperboreean
  • 8,273
  • 12
  • 61
  • 97
5
votes
3 answers

Real-time Java interoperability

I am wondering how it's the interoperability between JRE6 and the JVM from rtsj. It seems that I have to use only their implementation (since the code will be interpreted using their JVM), so I cannot use many of the features that Java 6 has to…
hyperboreean
  • 8,273
  • 12
  • 61
  • 97
4
votes
3 answers

Real Time Java threads and OS Level threads on Linux

When using real time java threads (either RealtimeThread or NoHeapRealtimeThread), is there a 1 to 1 relationship between OS Level threads and Java threads? Also, is Java using fork() or clone() for each of the processes created at the OS Level?
rreyes1979
  • 1,855
  • 3
  • 23
  • 34
3
votes
1 answer

Is it possible to implement / run Java Real Time program in Windows?

I am very new to Java and also Real Time Program. I am trying to run some real time code using Eclipse or Netbeans in Windows, however, I face same problem for both IDE which I could not import the javax.realtime package. I had googled for several…
shennyL
  • 2,764
  • 11
  • 41
  • 65
2
votes
1 answer

Real time java - async event handler fails to fire

The following code is adapted from an example in Real-Time Java Platform Programming by Peter C. Dibble: import javax.realtime.*; public class OSTimer { static volatile boolean cont = true; public static void main(String[] args) { …
wmjdgla
  • 101
  • 1
  • 8
2
votes
1 answer

Real-time Android application

I would like to build an Android app that process acceleration data and return result every 0.5 seconds. Are there any way to deal with the problem with out using native code? P/s: I'm a newbie so please go easy on me!
GEM
  • 58
  • 5
2
votes
1 answer

Java sound visualizer

i'm trying to make a java sound visualizer, but I have absolutely no idea on how to get the bytes from the audio extracted, immediately after they are procressed in real-time. I could synchronize the program with an wav file, but that is not what I…
user1849298
1
vote
2 answers

UnsatisfiedLinkError when trying to run Real time Java code on Websphere Real Time JVM on Linux

I'm trying to run real time java code using the Websphere Realtime Java VM on Ubuntu Linux 32 bit. I could get the code to build, but for some reason the VM is unable to locate the native libraries that implement the javax.realtime classes and…
suhridk
  • 238
  • 3
  • 6
1
vote
2 answers

java real time design rtsj

I am thinking how to build a real-time system using java without Sun Real-time System API. Say, a boss generates an event at 11:00 am, he has to get feedback at 11:10 am. If no any feedback, he will resend his event. The staff gets his boss's event…
user534009
  • 1,419
  • 4
  • 23
  • 25
1
vote
0 answers

Java-Real time push updates for web

Does Spring framework have any method to efficiently push data to web client with out cluttering the server? Long-polling is the preferred method.
Vishnu G S
  • 654
  • 2
  • 10
  • 27
0
votes
2 answers

Real-time Java - java.lang.NoClassDefFoundError in netbeans

I am importing an external jar file to run java real-time system. The package I need to import is the javax.realtime I was able to get this package in a jar file,when i add this jar file to my project, i didn't get any compilation error, but when…
shennyL
  • 2,764
  • 11
  • 41
  • 65
0
votes
5 answers

javax.realtime package is missing

I am very new to Realtime system development in Java. I create Java files in OpenSuse and compile it. I get an error: The import javax.realtime cannot be resolved. I have been searching for RealTime JAR file. I tried many website such as…
alvin8866
  • 65
  • 2
  • 9
0
votes
4 answers

Eclipse cannot import javax.realtime

I am very new to java and only start to use Eclipse to run some real-time java program. I could not find javax.realtime to import, I get the error: The import javax.realtime cannot be resolved Any idea how to resolve this? Do I need to download any…
shennyL
  • 2,764
  • 11
  • 41
  • 65
1
2