Skip to main content

Home/ Linux/ Group items tagged java

Rss Feed Group items tagged

Paul Sydney Orozco

http://www.adobocode.com/spring/marshallingunmarshalling-java-objects-into-xml-file-usi... - 0 views

  •  
    The release 3.0 of Spring Framework added the Spring Module OXM which supports the marshalling and unmarshalling of Java objects and XML documents.In this post, we will be using Spring OXM to take a Java object, convert it to a XML-format and save it in the hard-disk as an XML file containing information of that Java object. We will also cover how to retrieve back the serialized state of that XML file and reconstruct it back to it's original state as a Java object.
Luciano Ferrer

Securiza tu web con este .htaccess | Blog of SysAdmins - 0 views

  •  
    "#Evitar escaneos, manipulación e inyeccion SQL (SQL, XSS, etc) RewriteCond %{HTTP_USER_AGENT} ^$ [OR] RewriteCond %{HTTP_USER_AGENT} ^(-|\.|') [OR] RewriteCond %{HTTP_USER_AGENT} ^(.*)(|%3C|%3E)(.*) [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^(java|curl|wget)(.*) [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^(.*)(libwww-perl|libwwwperl|snoopy|curl|wget|winhttp|python|nikto|scan|clshttp|archiver|loader|email|harvest|fetch|extract|grab|miner|suck|reaper|leach|havij)(.*) [NC,OR] RewriteCond %{REQUEST_URI} ^(/,|/;|/|/'|/`|/%2C|/%3C|/%3E|/%27|/////) [NC,OR] RewriteCond %{HTTP_REFERER} ^(.*)(%00|%08|%09|%0A|%0B|%0C|%0D|%0E|%0F|%2C||'|%3C|%3E|%26%23|%27|%60)(.*) [NC,OR] RewriteCond %{QUERY_STRING} ^(.*)(%00|%08|%09|%0A|%0B|%0C|%0D|%0E|%0F|%2C|%3C|%3E|%27|%26%23|%60)(.*) [NC,OR] RewriteCond %{HTTP_COOKIE} ^(.*)(|'|%3C|%3E|%27)(.*) [NC] RewriteRule ^(.*)$ index.php [NC] #Evita manipulacion en la URL RewriteCond %{REQUEST_METHOD} ^(HEAD|TRACE|DELETE|TRACK) [NC,OR] RewriteCond %{THE_REQUEST} ^.*(\\r|\\n|%0A|%0D).* [NC,OR] RewriteCond %{HTTP_REFERER} ^(.*)(|'|%0A|%0D|%27|%3C|%3E|%00).* [NC,OR] RewriteCond %{HTTP_COOKIE} ^.*(|'|%0A|%0D|%27|%3C|%3E|%00).* [NC,OR] RewriteCond %{REQUEST_URI} ^/(,|;|:||">|"|'|%0A|%0D|%27|%3C|%3E|%00).* [NC,OR] RewriteCond %{QUERY_STRING} ^.*(;||'|"|\)|%0A|%0D|%22|%27|%3C|%3E|%00).*(/\*|union|select|insert|cast|set|declare|drop|update|md5|benchmark).* [NC,OR] RewriteCond %{QUERY_STRING} ^.*(localhost|loopback|127\.0\.0\.1).* [NC,OR] RewriteCond %{QUERY_STRING} ^.*(|'|%0A|%0D|%27|%3C|%3E|%00).* [NC] RewriteRule ^(.*)$ index.php [NC] #Complica l
Paul Sydney Orozco

Cool Tutorial on Spring, Hibernate and MySQL Example - 0 views

  •  
    Tutorial and Example on how to integrate Java, Spring, Hibernate and MySQL
Paul Sydney Orozco

Tutorial On Spring with Hibernate and Java Persistence API - 0 views

  •  
    Sample of using Hibernate Annotations by reducing XML configuration files thus making it simpler to define required metadata directly into our Java code. When using annotations, we no longer need the additional mapping file (*.hbm.xml). The metadata for the ORM is specified in the individual classes.
yc c

SourceForge.net: Opcion Font Viewer - 0 views

  •  
    Opcion Font Viewer is a Java based font viewer that allows you to view (un)installed TrueType fonts one or many at a time.
Krizna G

How to install tomcat 7 on ubuntu 14.04 - 0 views

  •  
    Apache Tomcat is an open source web application which is used to deploy JAVA servlets and JSPs. This article helps you to install Tomcat 7 on ubuntu 14.04
Benno Hansen

Mozilla Plugin Support on Linux - 0 views

  • Install Adobe Reader. Create a symbolic link to nppdf.so to your Mozilla plugins directory.
  • copy libflashplayer.so to your Mozilla plugins directory and flashplayer.xpt to your Mozilla components directory
  • Install Java Runtime Environment. Make a symbolic link to libjavaplugin_oji.so in your Mozilla Plugins directory. Use the copy located in the plugin/i386/ns7 directory of JRE 5.0 or later, or plugin/i386/ns610-gcc32 if you are using JRE 1.4.2.
  • ...1 more annotation...
  • Copy nphelix.so to your Mozilla plugins directory and nphelix.xpt to your Mozilla components directory.
  •  
    Mozilla Plugin Support on Linux (x86)
David Corking

BBC NEWS | Technology | Tweeting mouse trap and window | June 2009 - 0 views

  •  
    'The house that tweets' This 2 minute video interview with Andy Stanford-Clark is much more entertaining than the YouTube interview I bookmarked earlier. Lots of action shots of home telemetry, Andy's Java midlet on his phone, and what I think is a GNOME desktop showing his home's web interface.
Marc Lijour

fosdem.org - 1 views

  • GNUDroid is a project meant to create an Android implementation using Free Software components borrowed from GNU Classpath and OpenJDK. This will be the IcedRobot Micro Edition.
  • Android is a suitable alternative and a compendium to Java Micro Edition, offering more capabilities but keeping a good deal of possible compatibility
  •  
    GNUDroid is a project meant to create an Android implementation using Free Software components borrowed from GNU Classpath and OpenJDK. This will be the IcedRobot Micro Edition.
li mix

Java之命令模式(Command Pattern) - Devin Zhang - 博客园 - 0 views

  • Control
    • li mix
       
      这里是否可以联想一下对应的rest设计的对于资源的认知, put,get,post, 什么相关的接口, 可是对于一个控制器来说,它可不仅仅是局限于这四种操作呀. 面向对象的操作比这个多多了
  •  
    行为请求者与行为实现者之间的解耦
Paul Sydney Orozco

Good Explaination on Spring's Scopes : Singleton vs Prototype - 0 views

  •  
    This post is for those who are new to Spring Framework. This covers the two basic Spring scopes, the singleton and prototype.
Paul Sydney Orozco

Awesome Explaination on Spring Dependency Injection Example - 0 views

  •  
    Sample tutorial on how of Spring Dependency Injection and Inversion of Control using Constructor Injection and Setter Injection
Paul Sydney Orozco

How to Add Form Validations in Spring MVC - 0 views

  •  
    This tutorial covers adding validations to forms during submission using Validator interface from Spring. This is part of the Spring MVC tutorial series.
Paul Sydney Orozco

How to Use @Required Annotation in Spring - 0 views

  •  
    An Example explaining on how @Required annotation from Spring Framework works. Provides sample on how to use @Required and expected exception if beans are not properly configured like BeanInitializationException or Property is required for bean.
Robin Dale

Steps to Install WHMCS Billing Software using Softaculous - 0 views

  •  
    Softaculous is an auto installer tool same like Fantastico, but has around 176 ready Java and PHP based scripts to install within few clicks compare to Fantastico one-click installer. It allows you to install various scripts supported and build your own websites, blogs, forums, photo galleries and many more!
1 - 18 of 18
Showing 20 items per page