>> write your service in groovy using standard java

Yes, that is exactly what I said.

Regards
Scott

On 29/06/2010, at 3:48 PM, BJ Freeman wrote:

> as long as you use java only coding conventions non of the groovy conventions.
> 
> Scott Gray sent the following on 6/28/2010 7:20 PM:
> 
> 
> =========================
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation  
> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> Specialtymarket.com  <http://www.specialtymarket.com/>
> 
> Systems Integrator-- Glad to Assist
> 
> Chat  Y! messenger: bjfr33man
> Linkedin 
> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
> 
>> I know you said not to mention groovy but you could always just write your 
>> service in groovy using standard java and then drop it into a java file when 
>> you're done.
>> 
>> Regards
>> Scott
>> 
>> HotWax Media
>> http://www.hotwaxmedia.com
>> 
>> On 29/06/2010, at 1:46 PM, Muhammad Aamir wrote:
>> 
>>> Actually I am aware of minilang and have used it earlier. The reason I want
>>> to minimize the use of it (in addition to its limitation) is that I don't
>>> want to release the source code of my application.
>>> 
>>> On Mon, Jun 28, 2010 at 7:47 PM, James McGill<
>>> [email protected]>  wrote:
>>> 
>>>> On Mon, Jun 28, 2010 at 7:56 AM, Muhammad Aamir<[email protected]>  wrote:
>>>> 
>>>>> Is minilang a complete replacement of Java language?
>>>>> 
>>>> 
>>>> This is not the intention of Minilang.  It's a matter of opinion as to
>>>> whether Minilang is easier to maintain than the eqivalent Java.
>>>> Minilang is excellent for much of the work that is commonly done in the
>>>> service layer, especially simple create and update operations, getting
>>>> lists
>>>> using variables that are automatically bound from the context, checking
>>>> permissions, etc.  This kind of thing is very common in OFBiz, so there are
>>>> numerous examples.
>>>> 
>>>> Since you have<call-bsh>  in minilang, you also have the option of using
>>>> java grammar inline.   There are plenty of things that are simple to do in
>>>> Java that might be very difficult or impossible to do in Minilang, and in
>>>> my
>>>> opinion there are Minilang routines in the OFBiz distribution that appear
>>>> to
>>>> have gone through enough evolution, that they would be better, in the long
>>>> run, ported to Java.
>>>> 
>>>> --
>>>> James McGill
>>>> Phoenix AZ
>>>> 
>> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to