|
|
I am reading date time and generating random number using MyClass(Java class) that have Main function.
I need to exposed one class(Exposed_class) for reading random number value from My class, to third party application (that is also written in Java).
in this case there was two main that is running concurrent and want to share data.
|
|
|
|
|
You should create a library (class or jar file) that the other application calls in order to get its information.
|
|
|
|
|
yes, I agreed bu problem is that to shared variable of my current running application to other java application and if other application access my class that is OK but how to share value of my current running object.
|
|
|
|
|
You would need to use shared memory[^] or some sort of message passing protocol.
|
|
|
|
|
Shivanand Gupta wrote: I need to exposed one class(Exposed_class) for reading random number value from My class, to third party application (that is also written in Java).
No, you are approaching this incorrectly.
What you need is a 'service' that provides a unique (presumably that is what you think you are doing) data to the caller.
That service is an independent app.
Then the two apps that you have use that service. That way either app can be running without the other.
This of course presumes there isn't a different way to solve the problem which wouldn't require any sharing at all.
|
|
|
|
|
|
hello,
it would be very helpful if you instruct me how to build translator software.
lobsangtsering@gmail.com
|
|
|
|
|
|
Please do not post email address here: we can send you messages without it, but it can invite a lot of spams...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
I am a beginner for Java programming. I started to self study by referring java documentation. But it is too complicated. But I followed language basics. After that I am in a trouble to select that , which java technologies to study. My dream is to be a java developer. Anyone can guide me?
|
|
|
|
|
Start with the Java Tutorials[^]. They will guide you from the very beginning in clear and simple terms.
|
|
|
|
|
Start with the basics, buy a book. If you can't get hold of a good book, then as Richard suggests, The Java Tutorials is also a good place to start.
|
|
|
|
|
You should start with Java Complete Reference. It's easy to understand and should give you ample understanding of the language and its usage.
|
|
|
|
|
Thanks for the guidelines. but after I completed the java language basics, which java technologies or frameworks you recommend to follow?
|
|
|
|
|
mwith wrote: After that I am in a trouble to select that , which java technologies to study
Presumably you have in fact managed to create some simple programs and now you have reached the point where you want to study some part of java without attempting to learn everything at once.
If you like pretty pictures you can learn swing although you probably shouldn't spend too much time on that since most new development won't use that. Despite that learning the basics of graphics can still be helpful. And it is possible that you will encounter this at some point.
Alternatively to that is you could learn how sockets work. Build a chat program (swing could help with that but not necessary.)
|
|
|
|
|
refer <b>head first java</b>.Good examples and clarity of concepts is good.Grill concepts like interfaces,polymorphism,inheritance by writing codes.Good luck.Aloha!!
|
|
|
|
|
Hi, you can start with some PDF of java tutorials which is help full for beginner.
modified 9-Sep-14 7:39am.
|
|
|
|
|
|
亲,Java快没落了,这年头再学习Java就是sb。
so,i recommend Dart
|
|
|
|
|
is it possible to divide one iframe into different rows and columns in html5 as we use in frameset.
|
|
|
|
|
Quite possibly, but what does that have to do with Java?
|
|
|
|
|
I want to load 3 html pages simultaneosly
|
|
|
|
|
What does that mean? And again, what does it have to do with Java?
|
|
|
|
|
What is the best way to structure the naming of your (java) packages?
By design paradigm: my.app.dao, my.app.services, my.app.util, my.app.model, etc.
or by function/context name: my.app.clients, my.app.registration, my.app.production, my.app.accountancy?
On a side note:
I think I remember watching a keynote speech on the Spring framework where a developer advocated the structuring of packages according to the application's domain functions. The same would happen for URLs:
/login
/register
/products/sales
/products/production
/accountancy/general-ledger
/accountancy/analysis
The problem of the classic paradigm package structure would be redundancy/visibility problems:
services/userregistration
services/agenda
services/products
model/userregistration
model/agenda
model/products
dao/userregistration
dao/agenda
dao/products
Each function is repeated per layer.
What is the best approach?
modified 8-Aug-14 9:18am.
|
|
|
|