Win a copy of High Performance Python for Data Analytics this week in the Python forum!

Marcos Vidolin

Greenhorn
+ Follow
since May 10, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Marcos Vidolin

Hi guys,

I'm trying to configure Apache Tiles 3 with Spring MVC 3 in my application but the template is not applied.
Does anybody can help me with that configuration?

mvc-dispatcher-servlet.xml


layouts.xml


view.xml




Thanks
7 years ago
Hi guys,

I insert the follow line in my entityManagerFactory bean:




Is there any problem doing my web application with entityManagerFactory be a org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean?

[]'s
Hi guys

I'm developing a Spring MVC + Hibernate/JPA project and that is my persistence.xml:



Note that I must to declare my entity User (and others ones). I'd like just indicate the entities package like a scan.
How can I do?

Thanks
[]'s
Welcome Adam and enjoy the forum!

[]'s
8 years ago

Hi,

Git is a great idea. All of the most popular open source projects has acceded Git like: jQuery, RichFaces, Rails, SpringFramework... - see https://github.com/popular/forked.
This is the Eclipse plugin that I use: EGit http://www.eclipse.org/egit/

[]'s
These books can help you to get the answers: Effective Java (Joshua Bloch) and Clean Code (Robert C. Martin).
It's a great reading for all Java developers.

[]'s
8 years ago
The approach will depend on what you want. In general I have used JSON because it's smaller and more readable than XML.
Just for note, Twitter and Foursquare left XML and started using exclusively JSON.

The following code snippets represents the same data:


JSON


XML
8 years ago
Thank's guys

I have a big project with RichFaces 3 (JSF 1) and to migrate RF 3 to 4 its not easy, that's why I need keep project with JSF 1.
But I don't want to get any kind of trouble with that configuration. I'll make some tests to ensure that configuration will work fine.
Do you have some experience with sun-web.xml file?

[]'s
8 years ago
JSF
Hi guys,

how can I run JSf 1's applications in Glassfish 3.1 once the application server already implements JSF 2?

tks
8 years ago
JSF
Hi Tim Holloway,

I was calling the method using a RichFaces's menu. To resolve that issue I call that same method in a <h:commandLink>, and it's working fine.
* The PDF file it's not showed in the browser but at least I can download it.
I guess something don't work in a ajax request, then if I make a JSP as you said, its will work fine too.

Thank you once again.
9 years ago
JSF
Hello,

Guys I need your help once again. =]
I'm trying show a PDF file (using JasperReport) on browser, but it's not working... I have no errors on glassfish's log.
The code was execute completely, but just don't show the report.
That's my code:



Thank you
9 years ago
JSF
Hi,

you can do it on Eclipse or NetBeans.
If I understood your question...

[]'s
9 years ago
JSF
Hello all,

May I use an @Autowired object from Spring inside my @PostConstruct method?

Tks
[]'s
9 years ago
JSF
Hello

Why don't you use the Bean Validation (JSR 303)? Are you using Java EE 6?

[]'s
9 years ago
JSF
Thanks Tim,

But I didn't understand how can I use generic DAO like that, injected a EntityManager in all my DAO?

9 years ago