Trailmax Tech

Max Vasilyev: ASP.Net MVC development in Aberdeen, Scotland
Skip to content
  • My Talks
  • cacheCopy
  • NSaga
  • Cake.SqlServer
  • About

java

Did you know you can convert Java jar files into .Net libraries?

Posted on October 10, 2012July 13, 2013 by trailmax

Apparently you can convert jar files with java bytecode into .Net assemblies. I did not know that.
Here is the link: IKVM.Net

Uncategorized   .Net, java
0

Connect to SQL Server from Java

Posted on June 22, 2011June 22, 2011 by trailmax
        try {
			Class.forName("net.sourceforge.jtds.jdbc.Driver");
			Connection conn = DriverManager.getConnection("jdbc:jtds:sqlserver://localhost:1433/test", "username", "password");
			System.out.println("connected");
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
Uncategorized   java, sql server

Spring Roo: public static void main(String[] arg)

Posted on June 22, 2011 by trailmax

Project created with Spring Roo can be run from the command line:

public static void main(String[] arg){
		
  ApplicationContext appContext = new ClassPathXmlApplicationContext("classpath*:META-INF/spring/applicationContext*.xml");
  // your code to follow
      
	}
Uncategorized   java, roo, spring

Tags

.Net asp.net Autofixture automation azure Azure-DevOps bat build server BuildServer c# cakebuild commands Dependency Injection di drivers eclipse EntityFramework git html https Identity iis java javascript jquery Linux microsoft mocking mvc OpenXml recipe regexp Registry script sql sql server stackoverflow testing tfs unit-testing Vista visual studio Windows Wireless XP

Blogroll

  • HR.Net Consaltancy and blog
  • My Git Cheat-Sheet
  • My Twitter
  • Wordpress Hosting

Recent Posts

  • Laundry Basket Bias
  • mstsc.exe vs HD screen
  • Windows Terminal
  • Using private NuGet feed with dotnet publish
  • Keyboard Shortcuts for Git in Visual Studio
Powered by WordPress | Theme: Bootstrap Basic