Skip to Content

Feed aggregator

Starting on a Sakai Book

Sakai Feeds - 6 hours 17 min ago
I have been trying to find time to write a book about the Sakai experience. I am thinking about a book like "Dreaming in Code" but about Sakai. I will focus on the early years 2004-2007 when I was most...

Dr. Chuck: Starting on a Sakai Book

Planet Sakai - 6 hours 17 min ago
I have been trying to find time to write a book about the Sakai experience. I am thinking about a book like "Dreaming in Code" but about Sakai. I will focus on the early years 2004-2007 when I was most...
Categories: Planet Sakai

iPhone/Droid Sales Comparison Misleading

Sakai Feeds - Wed, 03/17/2010 - 4:50pm

A number of news sources seem to be publishing comparisons between initial sales numbers for the Apple iPhone, Motorola Droid, and Google Nexus One.

Some quick comparisons are being made trying to compare the DROID & iPhone numbers head on, but I’m surprised not to see any sidebars noting that the original iPhone launched at 499/599 – whereas the DROID has been fully subsidized from the get go.

Jason Shao: iPhone/Droid Sales Comparison Misleading

Planet Sakai - Wed, 03/17/2010 - 4:50pm

A number of news sources seem to be publishing comparisons between initial sales numbers for the Apple iPhone, Motorola Droid, and Google Nexus One.

Some quick comparisons are being made trying to compare the DROID & iPhone numbers head on, but I’m surprised not to see any sidebars noting that the original iPhone launched at 499/599 – whereas the DROID has been fully subsidized from the get go.

Categories: Planet Sakai

Path Matters

Sakai Feeds - Wed, 03/17/2010 - 2:39pm
There’s a conversation going on today on the EDUCAUSE CIO List about criteria for evaluating learning management systems (LMS). Patrick Masson, CIO at SUNY Delhi, suggested in that conversation, that a feature comparison might no longer provide the right assessment criteria. Brad Wheeler, CIO at Indiana University and uber-leader of Community Source in education, responded [...]

Chris Coppola: Path Matters

Planet Sakai - Wed, 03/17/2010 - 2:39pm
There’s a conversation going on today on the EDUCAUSE CIO List about criteria for evaluating learning management systems (LMS). Patrick Masson, CIO at SUNY Delhi, suggested in that conversation, that a feature comparison might no longer provide the right assessment criteria. Brad Wheeler, CIO at Indiana University and uber-leader of Community Source in education, responded [...]
Categories: Planet Sakai

It’s Official: The Sakai Foundation is Hiring a New Executive Director

Sakai Feeds - Wed, 03/17/2010 - 9:36am

The job description is here. If you are thinking about applying and have questions, feel free to ping me.

Related posts:

  1. How to Understand and Follow the Sakai Foundation
  2. A Brief Word about the Mellon Foundation and Sakai
  3. I’ve Been Elected to the Sakai Foundation Board of Directors

© michael.feldstein for e-Literate, 2010. | Permalink | No comment | Add to del.icio.us
Post tags: Sakai, Sakai Foundation

Introduction to Sakai

Sakai Feeds - Wed, 03/17/2010 - 5:44am
http://sakai.claremont.edu:8080/portal/

Support : SCORM Cloud

Sakai Feeds - Tue, 03/16/2010 - 10:58pm

Project

Sakai Feeds - Tue, 03/16/2010 - 3:18pm

Spring wiring private init-method

Sakai Feeds - Tue, 03/16/2010 - 1:22pm

While adding some unit tests to older Spring code, I noticed that the production Spring configuration was wiring together some pretty simple Factory objects that had private init() methods (took a few minutes to figure out why I kept getting wavy lines), that looked like this:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
private void init(){
try {
StringBuilder sb = new StringBuilder();
for(String server : servers){
sb.append(server.trim());
sb.append(BLANK_SPACE_DELIMITER);
}

memCacheClient = new MemcachedClient(AddrUtil.getAddresses(sb.toString()));
} catch (IOException e) {
log.error("Unable to Connect to memCache " ,e);
throw new RuntimeException("Unable to Connect to memCache " , e);
}
}

It turns out that AbstractAutowireCapableBeanFactory does a bit of reflection when processing ‘init-method’ to allow it to invoke private methods (assuming you don’t have any SecurityMangers running, which you probably don’t)

1
2
3
4
ReflectionUtils.makeAccessible(initMethod);
try {
initMethod.invoke(bean, (Object[]) null);
}

So… magic…

Jason Shao: Spring wiring private init-method

Planet Sakai - Tue, 03/16/2010 - 1:22pm

While adding some unit tests to older Spring code, I noticed that the production Spring configuration was wiring together some pretty simple Factory objects that had private init() methods (took a few minutes to figure out why I kept getting wavy lines), that looked like this:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
private void init(){
try {
StringBuilder sb = new StringBuilder();
for(String server : servers){
sb.append(server.trim());
sb.append(BLANK_SPACE_DELIMITER);
}

memCacheClient = new MemcachedClient(AddrUtil.getAddresses(sb.toString()));
} catch (IOException e) {
log.error("Unable to Connect to memCache " ,e);
throw new RuntimeException("Unable to Connect to memCache " , e);
}
}

It turns out that AbstractAutowireCapableBeanFactory does a bit of reflection when processing ‘init-method’ to allow it to invoke private methods (assuming you don’t have any SecurityMangers running, which you probably don’t)

1
2
3
4
ReflectionUtils.makeAccessible(initMethod);
try {
initMethod.invoke(bean, (Object[]) null);
}

So… magic…

Categories: Planet Sakai
Syndicate content