Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Keep the subject line brief, but descriptive. eg "File Serialization problem"
Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode HTML tags when pasting" checkbox before pasting anything inside the PRE block, and make sure "Ignore HTML tags in this message" check box is unchecked.
Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
Please do not post links to your question in one forum from another, unrelated forum (such as the lounge). It will be deleted.
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
No advertising or soliciting.
We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
When answering a question please:
Read the question carefully
Understand that English isn't everyone's first language so be lenient of bad spelling and grammar
If a question is poorly phrased then either ask for clarification, ignore it, or mark it down. Insults are not welcome
If the question is inappropriate then click the 'vote to remove message' button
Insults, slap-downs and sarcasm aren't welcome. Let's work to help developers, not make them feel stupid.
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?
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
The Alert Interface in Selenium doesnt have any implementing classes on its own. In such a case, how will the user get to know the exact method or exact class through which the alert interface can be used....
To put it in a simple way, how to use an interface when there are no implementing classes for the interface.
Hi,all.Could anybody give me a detail describtion of the channel?(that is,something likes file channel,socket channel,etc.) or give me the relative link about it.Also,I want to know:
1.How the os implements the channel,does it need any hardwares to support?
2.What does it differ from the stream,in what situation,I should use it rather then the stream? What's its advantage?
Thanks to all.
Please take file channel as an example to explain it,mainly focusing on thease questions:
1.How the os implements the file channel,does it need any hardwares to support? or it just a virtual concept?
2.Why I should use it instead of the file stream?
The Channel[^] is a Java concept, implemented on top of the operating system. As the documentation states, this can be a hardware device, a file, a network socket, or a program component that is capable of performing one or more distinct I/O operations, for example reading or writing. The choice of when to use channels over streams is something you need to decide when designing your application, as it will depend on your requirements.
Last Visit: 31-Dec-99 18:00 Last Update: 27-Aug-14 22:09