http://www.ibm.com/developerworks/java/
A great resource for both the novice and the seasoned Java developer. It seems to be really well written, gently introducing the reader into the several Java technologies.
Wednesday, February 6, 2013
A Quick JavaServer Faces Tutorial
http://balusc.blogspot.pt/2011/01/jsf-20-tutorial-with-eclipse-and.html
BalusC, a knowledgeable Java user at Stack Overflow, has a great JavaServer Faces development tutorial using Eclipse and Glassfish. In the end, he adds several other sources to continue on learning.
BalusC, a knowledgeable Java user at Stack Overflow, has a great JavaServer Faces development tutorial using Eclipse and Glassfish. In the end, he adds several other sources to continue on learning.
Tuesday, February 5, 2013
The Human Brain Project
http://www.humanbrainproject.eu/index.html
An ambitious, European-lead effort to revolutionize the study of the brain. Among other goals, it aims to provide a way of testing new drugs in a computer-simulated brain and to develop new electronics that mimic the way the brain works.
An ambitious, European-lead effort to revolutionize the study of the brain. Among other goals, it aims to provide a way of testing new drugs in a computer-simulated brain and to develop new electronics that mimic the way the brain works.
Monday, February 4, 2013
The A to Z of Social Media for Academia
http://www.andymiah.net/2012/12/30/the-a-to-z-of-social-media-for-academics/
An interesting list of resources not only for research work in itself but also for the media and social aspects related to academic research and knowledge dissemination. Although I have not tried it yet, I would add to the list Prezi, http://prezi.com/, a new way of building presentations that make them more like an animation. Some of these resources may seem a bit unnecessary or overkill but they nevertheless seem to point the way academic research will be done in the near future.
An interesting list of resources not only for research work in itself but also for the media and social aspects related to academic research and knowledge dissemination. Although I have not tried it yet, I would add to the list Prezi, http://prezi.com/, a new way of building presentations that make them more like an animation. Some of these resources may seem a bit unnecessary or overkill but they nevertheless seem to point the way academic research will be done in the near future.
Sunday, February 3, 2013
Java List Remove Method is Optional
http://docs.oracle.com/javase/7/docs/api/java/util/List.html#remove(int)
Removes the element at the specified position in this list (optional operation)
http://stackoverflow.com/questions/4243786/how-to-remove-element-from-java-util-list
The top answer to this question provides an interesting solution:
public void removeImage(int index) {
if (images != null) {
try {
images.remove(index);
} catch (UnsupportedOperationException uoe) {
images = new ArrayList
(images);
images.remove(index);
}
}
}
Removes the element at the specified position in this list (optional operation)
http://stackoverflow.com/questions/4243786/how-to-remove-element-from-java-util-list
The top answer to this question provides an interesting solution:
public void removeImage(int index) {
if (images != null) {
try {
images.remove(index);
} catch (UnsupportedOperationException uoe) {
images = new ArrayList
images.remove(index);
}
}
}
Saturday, February 2, 2013
Topics on Java EE 7
http://jdevelopment.nl/open-source/java-ee-7-progress-page/
Some interesting topics and links to articles related to the forthcoming Java EE 7.
Here are the main links, according to this source (blog url corrected):
Main JSR: http://jcp.org/en/jsr/detail?id=342
Public project home: http://java.net/projects/javaee-spec
The Aquarium Java EE 7 Blog: https://blogs.oracle.com/theaquarium/
Some interesting topics and links to articles related to the forthcoming Java EE 7.
Here are the main links, according to this source (blog url corrected):
Main JSR: http://jcp.org/en/jsr/detail?id=342
Public project home: http://java.net/projects/javaee-spec
The Aquarium Java EE 7 Blog: https://blogs.oracle.com/theaquarium/
European Transport Research and Innovation Portal
http://www.transport-research.info/web/index.cfm
The Transport Research & Innovation Portal (TRIP) gives you an overview of research activities at European and national level.
The Transport Research & Innovation Portal (TRIP) gives you an overview of research activities at European and national level.
Drunk Rats Could Overturn Neurological Orthodoxy
http://neuroskeptic.blogspot.pt/2013/01/drunk-rats-could-overturn-neurological.html
A form of brain abnormality long regarded as permanent is, in fact, sometimes reversible, according to an unassuming little paper with big implications.
Here's the key data: some rats were given a lot of alcohol for four days (the "binge"), and then allowed to sober up for a week. Before, during and after their rodent Spring Break, they had brain scans. And these revealed something remarkable - the size of the rats' lateral ventricles increased during the binge, but later returned to normal.
This is really pretty surprising. The ventricles are simply fluid-filled holes in the brain. Increased ventricular size is generally regarded as a sign that the brain is shrinking - less brain, bigger holes - and if the brain is shrinking that must be because cells are dying or at least getting smaller. So bigger ventricles is bad. Or so we thought... but this study shows that it might not always be true: alcohol reversibly increases ventricular volume over a timescale of days. It does so, the authors say, essentially by drying brain tissue out; like most things, if you dry the brain out, it gets smaller (and the ventricles get bigger) but when the water comes back to the tissues, it expands again.
A form of brain abnormality long regarded as permanent is, in fact, sometimes reversible, according to an unassuming little paper with big implications.
Here's the key data: some rats were given a lot of alcohol for four days (the "binge"), and then allowed to sober up for a week. Before, during and after their rodent Spring Break, they had brain scans. And these revealed something remarkable - the size of the rats' lateral ventricles increased during the binge, but later returned to normal.
This is really pretty surprising. The ventricles are simply fluid-filled holes in the brain. Increased ventricular size is generally regarded as a sign that the brain is shrinking - less brain, bigger holes - and if the brain is shrinking that must be because cells are dying or at least getting smaller. So bigger ventricles is bad. Or so we thought... but this study shows that it might not always be true: alcohol reversibly increases ventricular volume over a timescale of days. It does so, the authors say, essentially by drying brain tissue out; like most things, if you dry the brain out, it gets smaller (and the ventricles get bigger) but when the water comes back to the tissues, it expands again.
Spring Data JPA Tutorials
http://www.petrikainulainen.net/spring-data-jpa-tutorial/
The goal of the Spring Data JPA is to make the implementation of data access layer easier and faster. (...) This tutorial is based on Spring Data JPA 1.0.2 (...)
Part One: Configuration describes how you can get the required dependencies with Maven and configure your application.
Part Two: CRUD helps you to implement a simple CRUD application by using Spring Data JPA.
Part Three: Custom Queries with Query Methods describes how you can create custom queries by adding query methods to your repository interfaces.
Part Four: JPA Criteria Queries teaches you to create dynamic queries by using the JPA Criteria API.
Part Five: Querydsl describes how you can create custom queries with Querydsl and Spring Data JPA.
Part Six: Sorting describes how you can sort your query results.
Part Seven: Pagination helps you to paginate your query results.
Part Eight: Adding Functionality to a Repository describes how you can add custom functions to a single repository.
Part Nine: Conclusions evaluates the usefulness of Spring Data JPA, gives recommendations about its usage and provides links to useful resources.
http://blog.springsource.org/2011/02/10/getting-started-with-spring-data-jpa/
In the course of this blog post we have reduced the amount of code to be written for repositories to two interfaces with 3 methods and a single line of XML. We have type safe CRUD methods, query execution and pagination built right in. The cool thing is that this is not only working for JPA based repositories but also for non-relational databases.
http://blog.jeroenreijn.com/2011/07/getting-started-with-mongodb-and-spring.html
MongoDB is as they describe it on their website: A scalable, high-performance, open source, document-oriented database.
Spring Data makes it easier to build Spring-powered applications that use new data access technologies such as non-relational databases, map-reduce frameworks, and cloud based data services as well as provide improved support for relational database technologies. Spring Data is an umbrella open source project which contains many subprojects that are specific to a given database.
The goal of the Spring Data JPA is to make the implementation of data access layer easier and faster. (...) This tutorial is based on Spring Data JPA 1.0.2 (...)
Part One: Configuration describes how you can get the required dependencies with Maven and configure your application.
Part Two: CRUD helps you to implement a simple CRUD application by using Spring Data JPA.
Part Three: Custom Queries with Query Methods describes how you can create custom queries by adding query methods to your repository interfaces.
Part Four: JPA Criteria Queries teaches you to create dynamic queries by using the JPA Criteria API.
Part Five: Querydsl describes how you can create custom queries with Querydsl and Spring Data JPA.
Part Six: Sorting describes how you can sort your query results.
Part Seven: Pagination helps you to paginate your query results.
Part Eight: Adding Functionality to a Repository describes how you can add custom functions to a single repository.
Part Nine: Conclusions evaluates the usefulness of Spring Data JPA, gives recommendations about its usage and provides links to useful resources.
http://blog.springsource.org/2011/02/10/getting-started-with-spring-data-jpa/
In the course of this blog post we have reduced the amount of code to be written for repositories to two interfaces with 3 methods and a single line of XML. We have type safe CRUD methods, query execution and pagination built right in. The cool thing is that this is not only working for JPA based repositories but also for non-relational databases.
http://blog.jeroenreijn.com/2011/07/getting-started-with-mongodb-and-spring.html
MongoDB is as they describe it on their website: A scalable, high-performance, open source, document-oriented database.
Spring Data makes it easier to build Spring-powered applications that use new data access technologies such as non-relational databases, map-reduce frameworks, and cloud based data services as well as provide improved support for relational database technologies. Spring Data is an umbrella open source project which contains many subprojects that are specific to a given database.
c:forEach vs ui:repeat in Facelets
http://www.ninthavenue.com.au/blog/c:foreach-vs-ui:repeat-in-facelets
The most important thing to understand about the jstl tags in Facelets is that they do not represent components and never become a part of the component tree once the view has been built. Rather, they are tags which are actually responsible for building the tree in the first place. Once they have done their job they expire, are no more, cease to be, etc etc.
The most important thing to understand about the jstl tags in Facelets is that they do not represent components and never become a part of the component tree once the view has been built. Rather, they are tags which are actually responsible for building the tree in the first place. Once they have done their job they expire, are no more, cease to be, etc etc.
Monday, February 7, 2011
Monday, March 22, 2010
Comparativo de Linguagens de Programação
Comparativo entre várias linguagens sobre diversos parâmetros de avaliação.
http://shootout.alioth.debian.org/u64/benchmark.php?test=all〈=all
http://blogs.azulsystems.com/cliff/2009/09/java-vs-c-performance-again.html
http://shootout.alioth.debian.org/u64/benchmark.php?test=all〈=all
http://blogs.azulsystems.com/cliff/2009/09/java-vs-c-performance-again.html
Subscribe to:
Posts (Atom)
