title: Connect MS SQL database from Java in ubuntu environment
body: <p>I am using ubuntu 12.04 and wanted to connect to the MS SQL server database which is hosted in the same network.
  I was able to connect this using Squirrel , yet unable to connect from a java program. These are the tools I and .jars I am using .
  Intellij Idea is the tool 
  jar are jtds-1.3.1.jar and sqljdbc4.jar
  Java version 1.7</p>
  
  <p>I am hoping to develop a web application in the Ubuntu Environment , yet my database will be in Ms Sql windows table. Is this feasible ?
  Please intruct me step by step , and sample code to connect ms sql database which s hosted ina wondows environment </p>
  
  <p>Rashen</p>