Java

 

elad 05/01/2010 - 16:37

UPDATE: edited to make my meaning clearer (I hope).

 

Disclaimer: This post is about my opinion, not formal definitions.

 

In today's introduction to the Scala course. Adi asked what is functional programming. Here is Wikipedia's definition:

In computer science, functional programming is a programming paradigm that treats computation as the evaluation of mathematical functions and avoids state and mutable data

 

ittayd 15/12/2009 - 14:24

http://codemonkeyism.com/generation-java-programming-style/

 

This blog post suggests some coding idioms that are different from mainstream.

 

Also read http://www.pragprog.com/articles/tell-dont-ask

ittayd 30/11/2009 - 18:07

 http://code.joejag.com/2009/new-language-features-in-java-7/

adi 23/11/2009 - 23:04

http://www.playframework.org/ is similar in concept to develop in Django or Rails. That is, no compile-package-deploy. Change the code and refresh the browser, see source code for errors etc.

 

Go to the site to see the video.

 

from the site:

Fix the bug and hit reload! Edit your Java files, save, refresh your browser and see the results immediately! No need to compile, deploy or restart the server.

Stateless model Play is a real "Share nothing" system. Ready for REST, it is easily scaled by running multiple instances of the same application on several servers.

Efficient template system A clean template system based on Groovy as an expression language. It provides template inheritence, includes and tags.

ittayd 18/11/2009 - 15:10

Sonar enables you to collect, analyze and report metrics on source code.

Sonar not only offers consolidated reporting on and across projects throughout time, but it becomes the central place to manage code quality.

Sonar currently covers Java and PL/SQL languages. However, Sonar is highly extensible and can therefore embark plugins to cover new languages.

 

http://sonar.codehaus.org/

 

Very simple to install: http://docs.codehaus.org/display/SONAR/Install+Sonar

and use:

http://docs.codehaus.org/display/SONAR/Analyzing+Java+Projects

 

There is also Hudson plugin that makes it even simplier to run sonar on the build server: http://wiki.hudson-ci.org/display/HUDSON/Sonar+plugin

 

 

liya 14/10/2009 - 15:20
Hi, I want to run Solr on Tomcat. My index is very large >70m documents ~10 gigs on disk. My machine is a windows 2008 server 64bit with 8 cores and 64 gigs of ram. I want to use the largest heap possible, what do u recommend the optimal vm args i should use?
davidginzburg 13/10/2009 - 13:55

Hello,

 

I would like to share my bad and good experience in application's design and planning.

 

1)

Remember, if you work with WEB/EJB container's objects, never make assumptions.

This stuff always tends to behave against your common sense.

As example:

peterk 10/09/2009 - 16:25

I can not distribute mysql jdbc driver inside of the my installation bundle, because of GNU license.

 

My question is - may I during installation process (user side) download driver from public repository? is it legal ?

 

Or should I explicitly ask user to refer me to some file?

 

mark 26/08/2009 - 14:38

I'm trying to print out the strings sent to the UI.

I'm using javassist/BCEL to examine the bytecode and to look for specific UI method (i.e. label.setText)

Then I'm trying figure out what are the strings that are being sent to those methods.

If the string is explicitly sent to that method(i.e. label.setText("hello")) I'm 'catching' the LDC declaration just before the method call and I'm done.

However, I'm not able to handle with complicated scenarios such as label.setText(bean.getName())

I need to come up with some kind of logic that will enable me to dig up the 'call hierarchy' in order to figure out the declaration of the string

I'm open to another alternatives if you have one...

keren 23/07/2009 - 12:37
Syndicate content