XSD validation with sax parser:
http://www.coderanch.com/t/129238/XML/validating-XML-document-schema-SAX
http://docs.oracle.com/javase/tutorial/jaxp/intro/simple.html
http://jaxp.java.net/1.4/JAXP-FAQ.html
http://jaxp.java.net/downloads.html#jaxp-jdk6
http://docs.oracle.com/javase/tutorial/jaxp/intro/sample.html
http://docs.oracle.com/javase/tutorial/jaxp/sax/parsing.html#gcnsr
---
secure connections (https) in java (using jks)
http://www.rapidssl.com/learn-ssl/ssl-browser-recognition/index.html
http://docs.oracle.com/javase/tutorial/security/sigcert/index.html
http://docs.oracle.com/javase/tutorial/security/
keytool info: http://docs.oracle.com/javase/1.5.0/docs/tooldocs/windows/keytool.html#Certificates
----
Sections to be completed:
- Internationalization
- SVN
Events section:
Creating a Custom Event
http://www.exampledepot.com/egs/java.util/custevent.html
A new custom event must extends EventObject. Moreover, an event listener interface must be declared to allow objects to receive the new custom event. All listeners must extend from EventListener.
This example demonstrates all the steps necessary to create a new custom event.
----
Swing Section:
Add info about the event-dispatching thread:
- Warning: Swing is not thread safe. For more information see Swing's Threading Policy:
- The Event Dispatch Thread (Official JavaSE documentation)
- How does the event dispatch thread work?
- Event dispatching thread
check this example:
Java Tutorials Code Sample – HelloWorldSwing.java
public
static
void
main(String[] args) {
//Schedule a job for the event-dispatching thread:
//creating and showing this application's GUI.
javax.swing.SwingUtilities.invokeLater(
new
Runnable() {
public
void
run() {
createAndShowGUI();
}
});
}
----
Generating unique IDs
http://www.javapractices.com/topic/TopicAction.do?Id=56
-----
set a session-scoped attribute
- "Use <c:set> tags to set a session-scoped view attribute for each of the page views" from here
- set the var in jsp with jstl: <c:set var='view' value='/cart' scope='session' />
- access in servlet with: session.getAttribute("view");
i.e.: Using the
pageContext.request.servletPath
EL expression is comparable to calling request.getServletPath()
from a servlet.-----------------------
Sem comentários:
Enviar um comentário