Cristina Yenyxe

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

Recent posts by Cristina Yenyxe

Hello guys,

My team is very used to work with Tomcat 6 but, now that we know there's a guide like "Apache Tomcat 7 Essentials" we're considering upgrading. There are always differences between versions, like minor changes in configuration files, that can get a sysadmin lost for a whole day. Are these differences in procedures or files detailed in any chapter of the book?

Greetings and thanks in advance.
10 years ago
So learning how to use it should not be too complicated Thank you!
10 years ago

My question is basically the subject. I've used the Threading API in Java in several projects and then another one for C++ was announced, and it looked really similar (also the ones in other languages). What are the most important differences between them? Do you make any parallelism in your book? Not that I consider it the most important thing, but it could make the API easier to understand for people in my situation.

Greetings and thanks in advance,
10 years ago

Richard Carlsson wrote:Whether it would be worth involving OpenMP or MPI as well, I'm not sure - but maybe if you have a wide-area cluster of individual massively multicore machines (or local clusters connected with high-speed data links), you'd like to try to max out by running OpenMP locally, and then use Erlang to synchronize the whole thing over the campus-wide or global network.

Yeah, I was considering that last idea, MPI doesn't seem to fit very well in this situation.

Richard Carlsson wrote:So that you don't have to write this sort of thing on your own, there is already a very nice project by Nokia called Disco: (Basically, Disco is Hadoop in less than 6000 lines of Erlang code, and lets you script the local jobs in Python.)

I love Python, and Disco looks great! I have sooo many thing to learn about this field... Thanks for the info.
I'm currently attending a M.Sc. at university about parallel and distributed computing, so Erlang is one of the topics that I feel interested in.

They have teached us that when programming in C, MPI and OpenMP could be mixed, so I'm curious if Erlang could be easily integrated with C in order to distribute the data using Erlang and make the calculations using OpenMP. Would it be the optimum solution or an Erlang-only one would be faster in most of the cases?

Thanks in advance, and congratulations for the book, I've read the sample chapters and they look very interesting!

I'm developing a JavaEE6 application, and I need to communicate two EJBs, one in the business tier and the other in the persistence tier. The persistence EJB doesn't deal with a model, it just queries a chaotic database running on SQL Server 2005, but I use an EntityManager so I don't have to worry about transactions anyway ;) So the code is something like this:

Bussiness EJB:

Persistence EJB (Local interface):

Persistence EJB (implementation):

I've checked it's not a problem with the connection between the EJBs adding a method with no persistence access and it works like a charm. And it shouldn't be a problem with the persistence unit configuracion 'cause when I turned the LogReader class into a @ManagedBean it also works.
But this way, when it gets to the 'em.createNamedQuery' statement it shows the following error: 'javax.ejb.EJBException: Unable to complete container-managed transaction.'

And the stack trace is:

Sorry for the stack trace's length, but I guess it is better for it to be too long than too short
Does somebody have any idea? Thanks in advance.