06 February 2004 - java_dev (original) (raw)

Java developers

February 6th, 2004

02:45 am - banazir - Bayesian Networks in Java (http://bndev.sourceforge.net) community bayesnets We have created a LiveJournal community, bayesnets, for discussion of Bayesian Network tools in Java (BNJ), the most comprehensive suite of open-source Java tools for inference and learning using graphical models.( Modules and planned features of BNJCollapse )BNJ is available for download from SourceForge.If you are interested in theoretical computer science (especially graph theory, applied probability, numerical analysis) and in artificial intelligence (especially machine learning, probabilistic reasoning, and automated reasoning with applications to robotics and bioinformatics), please feel free to join bayesnets for discussions of graphical models.Cheers,William HsuP.S. : A recent entry contains a questionnaire for community members - I'd like to invite all new and existing subscribers to post a little about their interests in Java development, graphical models, applied mathematics, et cetera (especially features they would like to see in future versions of BNJ).
12:21 pm - talldean I have a large web application built using Java Servlets. I'm interested in migrating it to a MVC model, adding in JSPs. I'm running Tomcat, and I've had no problems getting the display bits of a few test servlets into JSP.There are a few dozen forms and web-based XML file editors in here. Different editors re-use bits of functionality from a common source, currently, and I don't want to break that. What technologies do I want to look at? Beans? EJB? JAF? Struts? Suggestions, anyone?
03:06 pm - talldean (Thanks for the quick replies!) A second question for the day:I've migrated a test class from 100% Servlet, into a Servlet that processes the data, then sets the data with request.setAttribute(, then forwards to a JSP.The JSP gets the data (Enumerations and Strings) from the request, and displays everything. On a submit, everything gets sent back to the servlet, and everything repeats.If I were using all-JSP, I'd do something like:<jsp:setProperty name="bean" property="*"/>to load the request into the JavaBean. However, I don't know how to do this in Servlets. Is there some introspection built into Servlets, or just JSP??