Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!

Don Scott

Greenhorn
+ Follow
since Mar 10, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Don Scott

Thanks for the reply Lasse!
9 years ago
Thanks for the reply. To tell you the truth-I am not sure if it is a good question or not-I have been interested in JVMs but just learning. I guess my thought process was that if the JVM implemented multi-threading already (and is implemented in C++)-what will having C++ with this capability change anything? Will the JVM be more portable across OS since the mutli-threading capabilities will be part of the C++ code vs having to write more native files to deal with certain OS threading differences?

Does that make more sense? It just seems weird how C++ was not mutli-threaded but used to implement a mutli-threaded language. As such, now that it is itself is multi-threaded-does that impact the implementation of the JVM at all?

If you want to get into speed/performance area, ie how C is faster than Java, etc-which I don't want to get into-I wonder if adding mutli-threading to C++ will improve the speed of these benchmarks even more.

Thanks!
9 years ago
Hey Anthony-

It seems that many programming languages are used in the creation of others. And if I remember right, aren't some of the JVMs written in C++? Does the ability to add multi-threading to the underlying code (C++) have any immediate benefits for performance or ease of creation of faster, more streamlined JVMs?

Thanks for your time,
Don
9 years ago
Thanks for the replies! OSGI is still really new to me, so I wasn't even familiar with the idea about the OSGI container holding the web container. I haven't ever looked at JOnAS-but will have to research it.

Thanks!
Many of our apps use a javaagent to do some loadtime weaving with ASM. Since OSGI has a sort of start/stop available status for a module, how much does this affect the bytecode weavin? Is compile time weaving even possible in a generic way yet ie. not just an Equinox solution?
OSGI runs in its own container correct? What are the performance impacts of running this container inside of an existing container such as a web or ejb container? For example, if you profile the class running on the jvm-how small is the footprint?
One of my biggest questions is when to practical apply the use of queues. Most of my work is with Internet (real-time) and not batch. Since most of the requests need a response within a 3 second window-would i be better off submitting to a queue and waiting or just returning the page and using something like ajax to update the page with the output of the message. I know that this is a super general question and would depend on the length of the unit of work being done-I guess that I am just looking for practical examples of how ActiveMQ is used in these real-time transactions. Am I being naive in that a majority of sending a message and waiting for a reply would be a challenge to beat most consumers response time page expectations?
I am developing a map program where I want a user to click on a button and then more information will pop up with information or a dialer. I know I can just start an activity-which is the quickest way it seems. However, should it be a different class-an Intent or subclass of Activity. I want to be able to go back to the main program easily-if seems I can't do that after an activity as easily as I hoped.

Thanks for any help!
11 years ago