I’m fairly new to jruby and rails and I have searched high and low for
answer to this problem, but
haven’t been able to solve it.
My dilema: I have a java library that takes a file, parses the contents
stores the contents in individual
vectors. The file may have a 100 names and 100 addresses and so I would
What I want to do is have a very simple web interface that takes the
the file, sends it to the java library which parses it, then use rails
access the vectors and persist the data to my database.
So far all I’ve seen on the CRUD tutorials is saving data via a
the data I want to save is not in the form and I am saving hundreds of
records at once, not just simple form data.
Does anyone know how I would go about doing this? A simple example of
the rails controller to do this would be most helpful.
By the way, I know that I could probably use gems to parse the data in
file, but my real question is how to call a library that returns results
then persist it in some way…especially when I have 100s or 1000s of
that need to be inserted into the database.
Thanks very much for the time!
View this message in context:
Sent from the JRuby - User mailing list archive at Nabble.com.
To unsubscribe from this list, please visit: