A completely biased comparison of JBoss and Django
The JBoss/Seam way:
import org.jboss.seam.annotations.Name;
@Name("person")
public class Person
{
private String name;
public Person(String name)
{
this.name = name;
}
public Person()
{
}
public String getName()
{
return this.name;
}
public void setName(String name)
{
this.name = name;
}
}
vs the Django way
from django.db import models
class Person(models.Model):
name = models.CharField(maxlength=40)
About this entry
You’re currently reading “A completely biased comparison of JBoss and Django,” an entry on crankycoder.com
- Published:
- 08.01.07 / 1pm
- Category:
- python
6 Comments
Jump to comment form | comments rss [?] | trackback uri [?]