Category: Career

  • Types of web services Big web services – SOAP based web services, xml only Restful supports xml and json Different types of web service generation axis2 uses wsdl2java to generate code cxf supports jax-ws and jax-rs ( restful web service), it uses annotation and wsimport wsimport from java itself of jax-ws 2.0 jax-rpc and jax-ws…

  • ClassLoader cl = ClassLoader.getSystemClassLoader(); URL[] urls = ((URLClassLoader)cl).getURLs(); for(URL url: urls){ System.out.println(url.getFile()); }

  • – open file vertically vim -O file1 file2 – horizontally vim -o file1 file2 – open one file in vim, then split for the second file horizontally :new file2 or :sp file2 – vertifically :vsp file2 – horizontally ctrl + wv and :e file2 – vertically ctrl + ws and :e file2

  • ####inistall yum install httpd ####control /etc/init.d/httpd start/stop/restart/status ####config vi /etc/httpd/conf/httpd.conf

  • Starts from restart the machine: reboot /sbin/shutdown -r now ####check process: ps aux| less ps aux| grep xxx ####backup tar -cpzf $DESDIR/$FILENAME $SRCDIR

  • Read a technical book once a month

  • Oracle ucm part of oracle fusion middleware. Recently, Oracle renamed it as Oracle Webcenter content. Oracle SOA contains Oracle BPM and Oracle BPEL, these two products are basically the same things,

  • Reading this book for a project. Learning from ground instead just googling around. Therefore, knowledge will be gained even after the project ending.

  • #####Save as in VIM, there are two ways – ( Assumed that I’m editing a.txt. ) **:w b.txt** will write a.txt’s content to the file b.txt while keeping a.txt as the opened buffer in vim. **:sav b.txt** will first write a.txt’s content to the file b.txt, then close buffer a.txt, finally open b.txt as the…

  • For Apache HTTP server, this can be done by turning on the URL rewriting engine and specifying some rewriting rules. Create .htaccess file and located it under project folder in webroot. RewriteEngine on \# if a directory or a file exists, use it directly RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d \# otherwise forward it to…