[Building Sakai] Sakai with iBatis

Steve Swinsburg steve.swinsburg at gmail.com
Tue Mar 6 16:56:28 PST 2012


Hi Shahid,

I echo Noah's comments. Get your project up and running, then you can strip it back. We have two archetypes for the Sakai CLE at the moment. Spring MVC and Apache Wicket. if you can create a model application, you could then turn it into an archetype and include it here:
https://source.sakaiproject.org/contrib/archetypes/

Example doc: https://confluence.sakaiproject.org/display/BOOT/Sakai+Wicket+Maven+Archetype
The doc for the Spring MVC archetype is coming shortly.

cheers,
Steve



On 07/03/2012, at 4:37 AM, Noah Botimer wrote:

> Hello, Shahid.
> 
> I think MyBatis is interesting and there may be others who might like to use it. But what I would suggest as the first step is to build real, working code, and document your patterns you use in Confluence. There is limited experience in the community with it, so good examples are the most helpful.
> 
> If it turns out that there are other projects interested, there may or may not be a way to extract and share some infrastructure effectively. I would not put that infrastructure on your project's critical path, since building abstractions first adds much complexity and they often need to be tuned as you build -- better to wait given that we're not sure of the demand and the overhead of multiple MyBatis SqlSessionFactories and configuration will be small compared to the work of building shared components.
> 
> In other words, start with a success in your project, and others may follow.
> 
> Thanks,
> -Noah
> 
> On Mar 6, 2012, at 9:03 AM, Shahid Pathan wrote:
> 
>> Hi All,
>> 
>> I am planning to implement iBatis in sakai for one of my module. I would like to implement in generic way 
>> so that in future if any one  want to opt for iBatis in sakai, it easily integrate with some spring configuration. Can anyone please provide me the inputs how to proceed.
>> 
>> Thanks
>> Shahid Pathan
>> 
>> 
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>> 
>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
> 
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"



More information about the sakai-dev mailing list