Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Whenever i search in the internet for log4j tutorial, i got the sample property filr or configuration file, but did not get the tutorial on how to configure property file and xml file...
The official documentation of apache for log4j is not clear,
Can somebody post the link for log4j tutorials...?
If there is any books available online, it would be helpful to download and study..
This tutorial from Lalinuna is great. There is also pdf and source code with snippets of code. Go for it :)
The Log4j manual covers every aspect, from API to configuration. It's quite short, but very complete.
Here's one. I've found another link for you.
DZone's tutorial*
*(this chars is just to pass the answers's body validator!!!!! ;))
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Improve this question
i have xml file having
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<getiResponse xmlns="http://ofbiz.apache.org/service/">
<map-Map>
<map-Entry>
<map-Key>
<std-String value="asd"/>
</map-Key>
<map-Value>
<std-String value="123"/>
</map-Value>
</map-Entry>
i want parse in java.please give suggestions
If you enter your question without the xml tags in Google, you find enough information on the first page.
I propose to check out the JAXP trail of the Oracle Java SE Tutorial, which shows you how to do it the standard Java way.
And then, as your XML example suggests, if you want to parse SOAP envelopes, you are in the field of JAX-WS web services, which you can learn more about in the Oracle Java EE tutorial.
I can recommend dom4j, I've used it in the past and it works fine.
dom4j
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am looking for something like jsfiddle but for java, so that code snippets and classes can be shared and tested.
At the moment, I am using a combination of pastebin and compileonline.com. I would rather not sign up for a huge online compiler service, just a quick and dirty code sharing/testing platform, that provides unique URL's for my code snippets.
I have seen other people asking similar questions:
https://stackoverflow.com/questions/15320286/is-there-online-compiler-for-java-like-jsfiddle
But there doesn't seem to be just the right tool. Anyone provide any pointers?
I tried using http://ideone.com/.
It supports a bunch of languages, including Java.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am trying to learn PrimeFaces. For this I think its showcase would be the good way to start.
But I want to run this offline, like we can download showcase for struts and run it. Same I want to download the showcase of PrimesFaces.
But I couldn't find the direct link. Help me out with this.
Also recommend me some good book to get deep knowledge about primeFaces.
Here it is, you can grab it from primefaces repository
primefaces/showcase/
Regarding the book/ knowledge base, take a look at the Documentation Section, you will find lots of info about primefaces over there.
You can see more details about how can you use it at http://www.mkyong.com/jsf2/primefaces/download-primefaces-showcase-and-source-code/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I need to look at the source code of HashMap.java of JDK version 1.6.0_19.
I searched the web but could not find anywhere.
Any pointers is highly appreciated.
Thanks.
Download that version of the JDK. The source code is provided in a src.zip file.
http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/java/util/HashMap.java
Try here: http://hg.openjdk.java.net/jdk6/jdk6
http://www.docjar.com/html/api/java/util/HashMap.java.html
Agree to the "download jdk", if you want to see it in your eclipse, you can edit it as the source of the jdk, then when you type HashMap, press F3, you will go to the HashMap.java.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Where can I find Spring 3 IoC JavaConfig (annotations) tutorial? If possible, please provide tutorials with source code example in SpringSource Tool Suite/maven project.
Thanks.
Update: I would like to have working examples with source code that I can immediately compile and run. There a number of old working examples for Spring 2 IoC (e.g. books' examples etc) but I still can't find for Spring 3 IoC. Thanks.
Start with:
Spring Reference: Java-based container configuration
If there's anything you don't understand, ask specific questions.
Mkyong.com have few examples (1, 2) with source code. Finally found answer for my first stackoverflow question after about half a year.