473,397 Members | 1,985 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Java and Determinism

Ken
Hi.

I'm working on a real time software project. It's not embedded, but
it certainly is considered at a minimum "soft" real time, since it
results in aircraft being moved around.

Some folks here are looking into using Java, JMS, JMX and J2EE. I'm
concerned about this because I've heard there are problems with
implementations of these standards being deterministic.

Could someone explain if determinism is a problem with this product
family, and if so, what the issues are?

I'm assuming there is a problem, thus the work being done on Real Time
Java--I just don't have a clear understanding of what the issues are.

I guess a follow up question is does anyone know if determinism issues
are being addressed for JMS, JMX or J2EE, so the could be used once
Real Time Java implementations are readily available?
Thanks so much!

Ken
______________
Jul 17 '05 #1
2 2665
Hi Ken,

I am not sure what you mean by the products being deterministic - that is
good thing that they are. But when you mention real time performance
and Java then I think I know what you mean. Java is not deterministic in
respect to real time performance issues since it has incremental garbage
collection; you never know the Java VM stops your thread to do some
garbage collection.

I am afraid I can not help you on your second question on whether or not
the standard Java products is going to improve on real time issues. I know that Real
Time Java tries to open op the Java VM allowing application programmers to
give more precise priorities to threads (wether it is a thread to be run
real time, exact time and some more I can not remember). Also allowing you
to specify the garbage collection algoritm. And some more I can not
remember - look it up if you are interested http://www.rtj.org/.

Best regards
Kristian

On Fri, 07 Nov 2003 18:51:38 -0800, Ken wrote:
Hi.

I'm working on a real time software project. It's not embedded, but
it certainly is considered at a minimum "soft" real time, since it
results in aircraft being moved around.

Some folks here are looking into using Java, JMS, JMX and J2EE. I'm
concerned about this because I've heard there are problems with
implementations of these standards being deterministic.

Could someone explain if determinism is a problem with this product
family, and if so, what the issues are?

I'm assuming there is a problem, thus the work being done on Real Time
Java--I just don't have a clear understanding of what the issues are.

I guess a follow up question is does anyone know if determinism issues
are being addressed for JMS, JMX or J2EE, so the could be used once
Real Time Java implementations are readily available?
Thanks so much!

Ken
______________


Jul 17 '05 #2
(cut)
I am afraid I can not help you on your second question on whether or not
the standard Java products is going to improve on real time issues. I know that Real
Time Java tries to open op the Java VM allowing application programmers to
give more precise priorities to threads (wether it is a thread to be run
real time, exact time and some more I can not remember). Also allowing you
to specify the garbage collection algoritm. And some more I can not
remember - look it up if you are interested http://www.rtj.org/.

(cut)

Just wanted to add that garbage collection is not the problem in se.
Real time garbage collection is possible.
Whether it is available for Java now, I don't know.

v

Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Michael | last post by:
Hello I am trying to write a Java-Program which converts a XML-file in a HTML. It should take the Transformation-file from the XML-file itself. Below find a possible XML-file: <?xml...
0
by: Ravi Tallury | last post by:
Hi We are having issues with our application, certain portions of it stop responding while the rest of the application is fine. I am attaching the Java Core dump. If someone can let me know what...
1
by: ptaz | last post by:
Hi I'm trying to run a web page but I get the following error. Ca anyone please tell me a solution to this. Thanks Ptaz HTTP Status 500 - type Exception report
2
by: Tommi Korhonen | last post by:
Hi, Is there any (preferably free) tools to test the determinism / non-determinism of a DTD? I have some very large DTDs and wouldn't like to do the testing "manually".
11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
148
by: BillJosephson | last post by:
Want to do OOP. Does c++ have all the abilities of java, or is it some subset? Thanks...
0
oll3i
by: oll3i | last post by:
package library.common; import java.sql.ResultSet; public interface LibraryInterface { public ResultSet getBookByAuthor(String author); public ResultSet getBookByName(String name);
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.