OscaR Scala Java Interop

24 views
Skip to first unread message

Jelle Victoor

unread,
Dec 3, 2013, 4:25:31 AM12/3/13
to oscar...@googlegroups.com
Does anyone has experience creating an interop between java application and OscaR? 
ATM we will continue writing java application and we'll start using OscaR as a general modeling language. What are the things we need to focus on most?

I would create a java bridge class and a bunch of wrapper classes converting my input java classes to case classes.

Jonathan Lever

unread,
Dec 3, 2013, 4:35:06 AM12/3/13
to oscar...@googlegroups.com
Hi,

I'm doing that right now, using Eclipse as IDE, there are plenty of tutorials on setting up a mixed java/scala project in eclipse on the web. It is all fairly smooth, though sometime necessary to force a clean of project in eclipse to get the scala side to catch up with java changes. There was no problem to compile a .jar at the end. How much you do on java or scala side is really up to you.

Good luck!

Jon

Pierre Schaus

unread,
Dec 3, 2013, 5:04:07 AM12/3/13
to oscar...@googlegroups.com
I share the same experience as Jonathan (clean very useful ;-) )
Note that there is still a bunch of Java classes in OscaR as well.


--
 
---
You received this message because you are subscribed to the Google Groups "OscaR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to oscar-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages