marți, iunie 10, 2008

Little tools big effects

It’s true. There are a lot of big tools that provide big benefits. But now I try to enumerate some little tools that made my life easier in the last time:

  • SoapUI – it’s a universal client for SOAP services; it let’s you make SOP calls if you know the WSDL location; you can use this tool to do stress testing and for this case is a replacement for JMeter witch has a special request for SOAP or XML-RPS services; it's integrable in Eclipse or standalone; an complete video user guide for SOAPUI can be find on this location
  • TCPMon – it’s a TCP/IP proxy that let’s you to intercept the traffic for your application; it shows clear the request and response messages; a similar capability is in the JMeter HTTP Proxy Server witch let you intercept the traffic generated by JMeter Test plans; it’s a replacement for a complete network sniffer and is under Apache coverage now
  • FPort – it’s a tool for detecting the busy ports on your computer, much more sophisticated that the nestat command (on both Windos and Linux); for some systems the netstat command is restricted and FPort is a solution for this inconvenient (in my actual job I have this problem)
  • JConsole – an utility that come with the JDK (after 5.0 version); it let you inspect the HEAP memory with all the zones (Eden Space, Survivor Space, Tenured Generation); you can detect memory leaks, the exposed MBeans and you have access to some informations about the classes loaded by JVM; it’s true you can’t use it for full profiling scopes – for this you must use a magic tool like JProfiler

luni, iunie 09, 2008

Servicii Web

Notitele mele legate de Web Services. Incerc de cateva zile sa-mi fac o idee despre acest domeniu. In principiu JAX-WS merita abordat (majoritatea informatilor sunt despre JAX-WS).

Tipuri de servicii
- SOAP - Simple Object Access Protocol
- XML-RPC - conform specificatiei de la http://www.xmlrpc.com; o implementare in Java: Apache XML-RPC
- REST - Representational State Transfer; o implementare in Java: Restlet
- JSON -
JavaScript Object Notation - non XML - Jettison
Specificatii implicate
Vechea specificatie
- JAX-RPC (deprecated inlocuita de JAX-WS; folosea un meacanism propriu de binding)
Specificatii noi (J2EE-5.0)
- JAX-WS 2.0 [JSR 224]—The Java API for XML-Based Web Services.
- JAXB 2.0 [JSR 222]—The Java Architecture for XML Binding.
- WS-Metadata [JSR 181]—Web Services Metadata for the Java Platform.
- WSEE 1.2 [JSR 109]—Web Services for Java EE.
- WS-* -in continua dezvoltare
Alte specificatii implicate
- SOAP 1.2
- SAAJ 1.3
- WS-I's BP-1.1 - Basic Profile
Web service stacks
Certified JAX-WS stacks
- Apache CXF
- Metro
Servere cu suport de JAX-WS
- Jboss (JBossWS Native, Sun's Metro and Apache CFX)
- GlassFish (Metro)
Altele ("frontend" programming models)
- Axis 2
Carti + articole
- SOA Using Java Web Services
- Video
Probleme implicate
- binding
Moduri de lucru (probleme la sincronizare instre contract si cod)
- WSDL to Java
- Java to WSDL (expunere de servicii)
- EJB 3
- Spring
- Pojo