Thursday, January 22, 2015

Free JAVA Textbooks

Team. One never really knows JAVA. First, it is constantly changing. Second, there are over thirty eight hundred objects in the standard edition (JSE) alone. And, each has numerous methods and properties. You could never memorize all of these and have them available for instant recall the way one memorizes addition or multiplication tables in elementary school. Every professional engineer worth his salt uses reference material. Anyone who says that he knows a language and does not need a language reference or programmer's guide is a foolish and ineffectual engineer. Every professional should learn at least one technical text in his discipline well. Beyond that, he should simply know how one navigates and acquires needed information from available resources. Below, a few text are listed which will be useful in mastering JAVA and that are freely available on-line.

This text is printed by Oracle Press and is designed for the beginner. Oracle corporation is the best source for information on JAVA since they are the current corporate custodians of the language.

First chapter of a book by Oracle Corporation
http://www.oracle.com/events/global/en/java-outreach/resources/java-a-beginners-guide-1720064.pdf


This text covers fundamental JAVA concepts and claims that one can learn JAVA by reading one lesson per day for twenty one days.

This text covers simpler JAVA concepts
http://portal.aauj.edu/e_books/teach_your_self_java_in_21_days.pdf


This final text starts simply, but tries addressing some more advanced topics such as multithreading and graphical user interface programming with Swing classes. Each of these are more advanced topics that easily could be treated in an entire book by themselves.

This text covers simple and advanced concepts
http://math.hws.edu/eck/cs124/downloads/javanotes6-linked.pdf

We should have that draft specification for the CABOOSE kernel available in the morning. We have the pleasure of having visitors from a new region of the world:

أهلا وسهلا! نحن سعداء أنك هنا.

Automated translations are often flawed. So, please excuse any errors in this translation which should read: Welcome! We are glad that you are here.  We greatly appreciate your interest in this project.

Enjoy this day. La-La. 




Wednesday, January 21, 2015

Chickens, Eggs, and the Big Bang make Huevos Rancheros

Team. The art and science of creation has baffled men for eons. We all cannot currently agree on how we wound up in existence. But there are a few abstract things about creation that we all agree on. There is a creative force ( even if that force is only randomness ). This creative force created a prototypical ancestor ( even if this was only a complex molecule which could replicate itself ). This prototypical ancestor produced adapt-able offspring through the guidance of the same force which created it. These abstractions in the creation process are archetypal for the accounts arising from the oral traditions of most cultures. Yet, how does this relate with software engineering?

Within all engineering disciplines, there is the classic problem of the chicken and the egg. Which came first? Pretend you were a "mad" scientist hoping that you could genetically engineer a "super-intelligent" chicken named "Huevo Rancheros" who could perform all of your research for you and ensure that you won a triple crown: a Nobel Prize, Turing Award, and Field Medal. Would you start your creative process with an unhatched egg or mature chicken?

We can see that man's long journey began with the creation of a prototypical ancestor from uncommon and unique means, and we have been adapting in our environments ever since. So, if your goal is creating the software equivalent of a Huevo Rancheros, a phenomenon of a product, use nature's example.

Start by creating a quality prototype which you can evolve. The creation of the prototype might be more chaotic and less structured than the process of generating its adaptable offspring, but this "bootstrapping" is fundamental  in the nature of the creative process. After a few generations of evolution you might produce the equivalent of a "golden" egg!

To become conversant in software prototyping terms, visit:

http://en.wikipedia.org/wiki/Software_prototyping

Enjoy your day. That promised algebraic specification will be coming soon. La-La.

Tuesday, January 20, 2015

A Note on Concern Partitioning

Team. An earlier post described a method for multidimensional concern partitioning. This pattern of the separation of concerns is compatible with most if not all software development life-cycles. Some of you might have thought that the technique was taken directly from the old Waterfall Model; however, there are not any reasons why the features, requirements, specifications, abstract and detailed designs, implementations, and test cases be fixed at the end of their stage of development. With the highly trace-able nature of this approach, it is completely possible that one might modify a specification when a discrepancy is found in a design or implementation object. Remember the Number Theory of Computing, software development is iterative and optimizing. With this hill climbing approach, we are working toward finding the "unique" number that perfectly describes our system.

Also, further elaboration on the multidimensional nature of concern partitioning is needed. Each traceable path describing a concern within a system represents a point in n-dimensional space. These traces are ( feature, requirement, specification line item, abstract design object, detailed design object, implementation object, test case ). Each ordinate in these tuples is a value on a "nominal" scale. Many different scales exist for measurement. We most frequently work with ordinal scales that represent a total ordering of values. But, scales can be nominal and unordered such as the axes with the values ( apples, oranges, grapes ) and ( celery, carrots, lettuce). Example points in such a 2-dimensional nominal space would be: (apples, lettuce), ( grapes, celery), ( oranges, carrots) , and etc. Each one of our traces using this form of concern partitioning represents a collection or list of nominal values that one can interpret as a point in an n-dimensional nominal space.

For those of you familiar with calculus and the notion of summing an aggregate of point-values to produce and area using integration, the summation of all of the nominal n-dimensional point-traces describing a software represents the complete system. This is very much like the Riemann sums in calculus which is the sum of a number of discrete subareas.

This complete system is describe-able in many forms including the summation of the concern traces and that "special" number associated with each program. We will revisit these concepts when we start creating our development documents after the initial prototype.

These are just a few notes on the separation of concerns. We will talk about chickens and eggs in the morning! Please, pardon any typos. Time constraints prevented effective hunting, pecking, and thinking. This post was reviewed and re-edited around noon and again the following day. This corrected a few mistakes. Happy Coding. La-La.

Friday, January 16, 2015

Martin Luther King (MLK) Holiday.

Team. There will not be a post on 01.19.2015 since it is a national holiday in the United States where many of us celebrate by doing community service activities.

The web services are complete and we will be focusing on the algebraic specification next week. It will be included in-line in the post.

Have an enjoyable weekend. La-La.

Thursday, January 15, 2015

Formalism in Engineering.

Team.

Formalism for CABOOSE:

Next week we will be working on creating a simple formal specification of the kernel of our general-purpose controller. For those of you unfamiliar with formal specification in software engineering, a chapter of an Ian Sommerville text on software engineering is available on-line at :

http://ifs.host.cs.st-andrews.ac.uk/Books/SE9/WebChapters/PDF/Ch_27_Formal_spec.pdf

It is about an hour and a half worth of thoughtful reading.

Ian Sommerville writes some wonderful text in software engineering for college students and practitioners who need review. 

Formalism in spoken language:

Besides formalism in engineering, there is also formalism in language and cultural mores. We apologize if the non-English text which we have included uses an overly informal form of "you". As you know, we have one "you" for formal and informal address and singular and plural in English. We are not sure if the translation service which we used provided us with the most appropriate form of "you" for the non-English text included in this weblog.

Hopefully, our blogging efforts will inspire some engineering work of your own.

Thank you for your time. La-La.




Wednesday, January 14, 2015

Preparing for Ports of CABOOSE. Volunteers Welcome.

Team. We are looking for a few well-qualified volunteers who might be interested in porting the CABOOSE MVC to other language platforms. Next, we are planning on .NET followed by the Ps (PERL,PHP, & Python). With JAVA, these likely cover most of the instances of web-scripts on the Internet which return dynamic content. If you are interested, join the CABOOSE project at java.net which provides a forum for communication. We can guide you through the development process with regular code reviews.

It might be between eighteen and twenty-four months before all of the ports are done with the resources that we currently have. As always, there is not any rush, but a few volunteers would expedite the development. Also, "well-qualified" means that you have completed at least one course in programming with a modern high-level computer language with a 'B' or better, understand proper separation of concerns, and can learn a popular integrated development environment (IDE). Also, it would be nice if you have written a few programs in the target language; however, language references and programmer's guides are readily available at developers' sites.

For our latest visitors : स्वागत है! हमें खुशी है कि तुम यहाँ रहे हैं रहे हैं।

We pray that this greeting was translated properly!

Enjoy this day. La-La.

Tuesday, January 13, 2015

Acronyms for JAX-WS and JAX-RS Explained.

Team. JAX-WS stands for the JAVA API for XML-based Web Services, and JAX-RS stands for the Java API for RESTful Web Services. An API is an application programming interface or library of functions (methods) which provide a way to interact with a system. A RESTful systems is one that supports Representational State Transfer. Finally, a web service is the provider portion of a service-oriented architecture (SOA) where its service consumer is a client such as a servlet, JSP, JSF, or JAVA class in a desktop application.

Since these web services work atop the hypertext transfer protocol (HTTP), they are inherently stateless. This means that the system's overall system state is not maintained between transactions much like traditional HTML pages without cookies or URL-rewriting. RESTful systems support mechanisms for maintaining system state. Upon reading more of the JEE 6 tutorial, we have found that JAX-WS is most commonly used for large web-services and JAX-RS for smaller services that might be an add-on for a larger system. Web Services are not our strength, but we will learn these concepts together as a team. Enjoy a day of endeavor, challenge, and success. La-La.