• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is Cocoa+Java considered relevant to the list?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is Cocoa+Java considered relevant to the list?


  • Subject: Re: Is Cocoa+Java considered relevant to the list?
  • From: Jeff LaMarche <email@hidden>
  • Date: Fri, 26 Sep 2003 09:26:49 -0400

On Thursday, September 25, 2003, at 10:45 PM, Ilan Volow wrote:

There's also the matter of needing SSL support and classes for PKI stuff. I didn't really get a chance to see whether Foundation had objective-c classes for these, as the regular expression issue was a major deal-breaker. I really wish Apple would add a NSRegularExpression class to the Foundation API.

I'll second your vote for NSRegularExpression, but I don't think it needs to be a deal breaker for using Cocoa (I don't know anything about Python, but it seems like you gave up on that option rather quickly as well). I'm not convinced your choice of Java is truly Hobson's choice. I can think of a couple of ways: AGRegEx (http://sourceforge.net/projects/agkit) which is alpha, but works pretty well, as the underlying engine (pcre) is very stable. MOKit, which you've mentioned. Using pcre or the gnu C regular expression classes (remember, objective-C _IS_ C), using the Java bridge, or using NSTask with standard unix command line tools such as sed and awk.

For Python, I assume it has regular expression support, since you used it originally.

Which brings me to Java, which does have regular expressions and has a fairly substantial set of classes for security stuff. I'm not very fond of Java, but it has everything I need and all the other solutions don't. This is my rational for using Java. Anyhow, I'm glad to know that this is a place where I can post my Java+Cocoa question. I'll put it up in the next day or two.

Well, you sound intent on using it. CocoaJava is the right choice for some people on some projects and I don't want to knock it, but you don't sound thrilled with the choice, so maybe it's the wrong choice for you...
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >Re: Is Cocoa+Java considered relevant to the list? (From: Ilan Volow <email@hidden>)

  • Prev by Date: Re: Package Maker sometimes prohibit all HDDs
  • Next by Date: Re: stringByAppendingBlahBlah woes
  • Previous by thread: Re: Is Cocoa+Java considered relevant to the list?
  • Next by thread: API for icons in main menu-bar
  • Index(es):
    • Date
    • Thread