Quick survey: What would it take to get you started with Java in Notes?
Update: Let's focus on Java development for Notes - not necessarily plug-ins but simply what would it take to get started with Java - the programming language as that is the first obstacle.
I'm running across quite a lot of people who would like to do sidebar plug-ins and general plug-in development for the Notes 8 platform but who are lacking the Java skills required. Many times they haven't actually taken the time to learn Java at all since the IDE support in Domino Designer is so poor. Based on this I started thinking about how to get Notes developers started developing in Java. So...
What would it take for you to get started with Java in Notes?
Please post your response as a comment and a little explanation if you chose "Other". If you chose option 2 I might just have a solution for you... :-)
Thanks.
Re: Quick survey: What would it take to get you started with Java in Notes?
Anyway, I guess developing plugins and sidebar development may not be the easiest things to start with? Why not start with Agents, which is probably a lot more like the bulk of LotusScript/Formula development, at least functionally anyway?
Cheers,
Michiel
Re: Quick survey: What would it take to get you started with Java in Notes?
Re: Quick survey: What would it take to get you started with Java in Notes?
I'd love to start writing agents in Java and maybe getting to some plugins. But most of my company is running 8 basic so even if I get to plug ins by "audience" will be limited
Re: Quick survey: What would it take to get you started with Java in Notes?
File -> New -> Project... -> Notes Sidebar Project
Many months ago I started to mess around with extending PDE to do just this, by creating a new project nature based on the existing Plug-in project, with built-in templates within the project wizard to demonstrate the sidebar extension points, document context selection etc. Of course I soon abandoned my efforts, as it was a little too ambitious for me and there was such a small audience for this stuff anyway.
Re: Quick survey: What would it take to get you started with Java in Notes?
Re: Quick survey: What would it take to get you started with Java in Notes?
I find that using Java requires a large time investment for learning the libraries. Also I find different programmers have different styles and sometimes its hard to understand why a piece of code is written in a seemingly complex manner.
On top of this you have to "see" the objects operating in the way the original designer saw/understood the objects to work. All of this coupled with the tendency to "see" the solution in Lotus script and urgency in existing projects makes it difficult to really get up to speed. (the lack of decent IDE/debug tools doesn't help either)
Re: Quick survey: What would it take to get you started with Java in Notes?
Most practical would be option 2 for now. BUT there should be more tutorials on Java development in Domino (in background agents) using Eclipse and the Java foundations.
So option 1 can wait, just to get some basic understanding about Java in Domino.
Re: Quick survey: What would it take to get you started with Java in Notes?
So as a admin learning a complete (in my eys quite diffucult language) new language it is a bridge to far for me i guess. But as a dmin I have worked with lots of scripting languages so I guess that would be mucg easier for me to get things going.
Re: Quick survey: What would it take to get you started with Java in Notes?
If I had to develop in Java it would be nice to have it in Domino Designer.
But on the other side, why not take the step over to Eclipse? And a world outside of Lotus.
Re: Quick survey: What would it take to get you started with Java in Notes?
4. Scripting language is
a) lots of work for IBM and there is no reason to believe that it will be good. Look for example how microsoft abandoned its own web2.0 js codegeneration. They use a jQuery based solution now. I think a lot of people are just to optimistic regarding the capabilities of big software companies like IBM or Microsoft can build something nicer on top of something which is allready there. Its hard and due to the current finance situation of our planet, I hope they won't fund that.
5. People who do not much java coding are just confused by the variety of the platform. All those bonus-jars from jakarta-commons, unit-testing, reflection api, etc.
Re: Quick survey: What would it take to get you started with Java in Notes?
I've read half a dozen books on Java (Headfirst Java was great), but am finally taking a 1 year college course to force me to get practical experience because right now my employer doesn't encourage Java development.
Re: Quick survey: What would it take to get you started with Java in Notes?
Re: Quick survey: What would it take to get you started with Java in Notes?
Mikkel, I vote for #5: A modern Java API (which may actually fall under #3). This would make all the other options better/easier. Per your question at Meet the Devs, it's on the list but I didn't get the impressions that it's anywhere near the top.
Re: Quick survey: What would it take to get you started with Java in Notes?
Re: Quick survey: What would it take to get you started with Java in Notes?
Point #1 or #2 would be nice...
Just a Wysiwyg editor, like the one you blogged about in Domino Designer/Expeditor toolkit would be great.
Still struggling on where to start, but your Lotusphere '09 presentation and samples will give me a good jumpstart.
Re: Quick survey: What would it take to get you started with Java in Notes?
Re: Quick survey: What would it take to get you started with Java in Notes?
1/2. Designer 8.5 has a java editor built in. Window menu select "open perspective->other" and then select Java from the list. When you create a new project create a "Java project". It gets stored in notes\data\workspace folder.
I haven't tried doing plugins with the 8.5 java designer but if it is possible to create a plugin then the debugging will be the same as XPD/Eclipse.
3. The wikis and developerworks should help a lot. But you are correct the learning curve to create a plugin is high for the first time (and a doddle after you get it).
Java knowledge is a requirement. Like any language you need to learn more then just the syntax.
4. Not sure about this. You can create Widgets and hook them into a composite application. Would be nice to have what you mention though. :)
Re: Quick survey: What would it take to get you started with Java in Notes?
For now I think the developers at Lotus (yourself included?!) is probably spending all the resources on getting the Java editor ready for DDE. Still much work there.
Re: Quick survey: What would it take to get you started with Java in Notes?
BTW: I am looking for good tutorials to get a smooth start with Domino and Java. What I found so far is:
http://eview.com/eview/viewr6.nsf/viewComboOffers?OpenPage
and
http://sourceforge.net/project/showfiles.php?group_id=200662&package_id=238344&release_id=524201
Anything else you know and can share with me/us?
Re: Quick survey: What would it take to get you started with Java in Notes?
If I develop for the Notes client I have an audience of one ... myself. If I develop for the web I have a potential audience of millions. My customers seem to like the second option better.
Re: Quick survey: What would it take to get you started with Java in Notes?
SUN have a nice online tutorial to get you started, after that I recommend reading "Head first design patterns" if you are new to Java. Explains why java is structured the way it is. Difference between writing maintainable apps and disasters no one wants to go near again. :)
Most of the lotuscript commands to interact with notes are similar.There is only the backend api for java and the designer help is very good in getting you started.
But the most important part is to fully understand how to use the recycle() command. The majority of crash/performance issues I see are related forgetting to use recycle() or using it at the wrong time.
When a call to request an object is made memory is allocated (like in c++) but has to be manually deallocated or that memory remains locked.
So if you don't use recycle() at all you eventually crash with out of memory.
Also in loops you should recycle the objects in the loop or you end up trying to load a whole view of data into memory.
Re: Quick survey: What would it take to get you started with Java in Notes?
I remember that when I first "took the plunge" to learn Java there was definitely a learning curve and it was a significant investment of time, but I would highly recommend it as allows you to take on a much wider variety of projects. Building sidebar plug-ins for the Notes client is one great example, but I also use Java agent in Notes for Ajax applications etc.
Re: Quick survey: What would it take to get you started with Java in Notes?
I have zero interest in Java -- less, really, than zero. And it's got nothing to do with my ability as a programmer -- I am just fundamentally opposed to pretty much everything Java represents. I have disliked Java since I started writing applets somewhere back in '96 or '97. Static typing? Non-functional? Who really needs that?
I will use Java when absolutely necessary, and have done so in order to implement cross-platform solutions, but there is nothing in the language that I wouldn't rather do another way. JS or Python would be my preference. And whether you choose to believe it or not, I find LS to be much more expressive than Java in the context of Domino development -- I use it because I prefer it, not because the IDE sucks or because I'm afraid of Java.





