Business Machine

Technology, business
and innovation.

And, not least, about
the Mac.

Weblog Archive Cutedge

by: Bernard Teo

Creative Commons License

Copyright © 2003-2012
Bernard Teo
Some Rights Reserved.

Fri 25 Jul 2003

Cocoa Notification works in Java

Category : Commentary/notificationjava.txt

At my wit's end, I created a fresh project just to see if there were other side effects that prevented the Cocoa notification feature from working in Java. I'm happy to say, it now works.

So it means that there was probably something wrong with my project files. I had taken a short cut and duplicated a nib file just to create another that was a bit different. I searched Google and read that you could get a corrupted nib file this way. That seems far too fragile, so I'll have to check it further. But right now, I'm happy to keep on moving.

If you're into programming Cocoa using Java, rather than Objective-C, there's a web site that has quite a few sample code. Thanks, you guys at WhiningDog.

So, right now, I've got table views, outline views, and notification working in Java. On to drawers, next.

Posted at 4:37PM UTC | permalink

Smart Host

Category : Technology/smartHost.txt

I received a request from Hunter King to include a "smart host" feature in Sendmail Enabler. According to the James Duncan Davidson article on MacDevCenter, it requires the addition of just one line to the /etc/mail/ file to make this work.

Looks easy enough. So I did that. But I couldn't test it. So I've sent it back to Hunter for testing. If it does, it'll be in the next release.

Other requests are not so easy to do (yet). For example, do SMTP-AUTH, POP before SMTP, ESMTP, Postfix. I would love to do all these. But the great dampener is that Sendmail seems to have been dropped from Panther. They've got Postfix there, but not enabled. Perhaps there'll be a Postfix Enabler.

I'm going to do a more full featured DNS setup next, then I'll see what I need to know about all those SMTP stuff. But right now, I wish I can make the notification feature work in Cocoa when I code in Java. I've got lots of Objective-C examples, but I'm tearing my hair out making this work in Java.

Back to work.

Posted at 10:43AM UTC | permalink

Put your Mac to Work Now how would you do something like that?

Weblogs. Download and start a weblog of your own.

A Mac Business Toolbox
A survey of the possibilities

A Business Scenario
How we could use Macs in businesses

VPN Enabler for Mavericks

MailServe for Mavericks

DNS Enabler for Mavericks

DNS Agent for Mavericks

WebMon for Mavericks

Luca for Mavericks

Liya for Mountain Lion & Mavericks

Postfix Enabler for Tiger and Panther

Sendmail Enabler for Jaguar

Services running on this server, a Mac Mini running Mac OS X 10.9.2 Mavericks:

  • Apache 2 Web Server
  • Postfix Mail Server
  • Dovecot IMAP Server
  • Fetchmail
  • SpamBayes Spam Filter
  • Procmail
  • BIND DNS Server
  • DNS Agent
  • WebDAV Server
  • VPN Server
  • PHP-based weblog
  • MySQL database
  • PostgreSQL database

all set up using MailServe, WebMon, DNS Enabler, DNS Agent, VPN Enabler, Liya and our SQL installers, all on Mavericks.