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.
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?
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.)
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:
Not exactly sure what you are suggesting but if your 'services/userregistration' is based on authorization/authentication then you have a rest call for that and nothing else. Presuming that the functionality is in fact the same.
That is similar to your other areas in that either something like 'products' is different for 'model' and 'services' or it is the same. If the same then there would be a root 'product' and not the way you broke it out. If they are different then they should have two different rest methods.
I'm not sure i'm in the right topic for this question. Feel free to redirect me to the appropriate one, if necessary.
I have an ANT related problem. I want to read some values from a file (new.txt), substring the parts i need from each line and then, concatenate all these values with "_" between them. This big concatenated string will be the name of a folder i'll create. Here is the code i wrote:
var text = attributes.get("text");
var end = text.length();
var start = attributes.get("start")||text.lastIndexOf("=")+2;
project.setProperty(attributes.get("property"), text.substring(start, end));
I want something like: 1344_dvfgf_sfgg_wfggh
but i have: _1344_dvfgf_sfgg_wfggh
Last Visit: 31-Dec-99 18:00 Last Update: 17-Sep-14 3:01