Click here to Skip to main content
15,889,527 members
Home / Discussions / Java
   

Java

 
GeneralRe: Since i m a student can I get industrial level examples on java where inheritance is major part? Pin
Richard MacCutchan5-Nov-15 23:12
mveRichard MacCutchan5-Nov-15 23:12 
QuestionNewly added jap page requested resource is not available Pin
Stephen Holdorf3-Nov-15 7:38
Stephen Holdorf3-Nov-15 7:38 
AnswerRe: Newly added jap page requested resource is not available Pin
Stephen Holdorf3-Nov-15 7:58
Stephen Holdorf3-Nov-15 7:58 
QuestionCode Design alternative for a Turn based game Pin
sitnik3-Nov-15 0:16
sitnik3-Nov-15 0:16 
QuestionHow do I Manually adding Spring MVC import libraries in to a Controller file Pin
Stephen Holdorf30-Oct-15 10:24
Stephen Holdorf30-Oct-15 10:24 
AnswerRe: How do I Manually adding Spring MVC import libraries in to a Controller file Pin
Richard MacCutchan30-Oct-15 22:57
mveRichard MacCutchan30-Oct-15 22:57 
QuestionMessage Removed Pin
29-Oct-15 13:53
Stephen Holdorf29-Oct-15 13:53 
NewsA new java open source framework: BabyFish Pin
babyfish-ct29-Oct-15 7:32
babyfish-ct29-Oct-15 7:32 
Hi, Java Friends

I'm an software engineer from China(I apologize for my ugly English), I used my spare time to develop an open source framework since 2008, after 7 years, it's has been finished and the first version is pulibshed on github. Its name is "BabyFish"

Please view

https://github.com/babyfish-ct/babyfish

to know more(The framework is also uploaded to the Maven Central Repository, but demo projects and document can only be accessed from github).


Functionalites

This framework is an Object Association Management framework(Let's call it OAM), it can be split to 2 parts

(1) Java Part
(a) Event combiner: support .NET style event notification mechanism.
(b) Typed-18N: support strong type "18N" which can report the I18N errors at compilation time.
(c) X-Collection-Framework: Enhance the Java Collection Framework. The most important functionality is "Unstable Collection Elements", element/key can be

modified after it has been added into set(map) because the corresponding sets/maps will be adjusted automatically when it's changed.
(d) MA-Collection-Framework: Enhance the X-Collection-Framework to let collections support modification notification like the trigger of database. The most

important functionality is "Bubbled Event", If the modification event has been triggered by iterator of view(eg: List.subList, SortedMap.subMap), it will bubbled to

its parent view, util the original root collection triggered the event.
(e) ObjectModel4Java: ObjectModel(Both ObjectModel4Java and ObjectModel4JPA) is the most important functionality of this framework, a powerful API to create

Java model classes, it supports the smart bidirectional association between objects. When one side bidirectional association is changed, the other side will be

notified and adjusted automatically. User only need to declare some annotations and all the functionalities will be implemented by the byte-code generated dynamically

in runtime.

(2) JPA/Hibernate Part
(a) ObjectMode4JPA: Enhance ObjectModel4Java. let ObjectModel support JPA entity classes.
(i) Replace the lazy proxy and lazy collection of Hibernate to support ObjectModel with laziness management.
(ii) Support Maven plugin to change the byte-code of entity class at compilation time, programmer only need to write the simple JPA entity classes, and

complex code for the ObjectMode4JPA can be injected into entity classes automatically during compilation.
(b) BabyFish-JPA-Criteria: A smarter implementation of JPA Criteria, it supports more functionalities, and it can optimize the generated JPQL.
(c) QueryPath: A functionality learned from "ADO.NET Entity Framework", for dynamic fetch and sort, query path can be used to to fetch the lazy properties with

unlimited depath and breadth, sort query result and sort object collection associations. It can be decided by UI Layer dynamically, then dispatched to Business Logic

Layer, and finally dispatched to the Data Access Layer.
(d) DistinctLimiQuery: Enhance the Oracle Dialect of Hibernate to resolve a problem of Hibernate, In hibernate, when paging query(with firstResult/maxResults)

contains collection fetches, hibernate has to query all the data and do the paging filter in memory. This functionality can resolve this p
Questionjsp Pin
mohanbc1827-Oct-15 23:29
mohanbc1827-Oct-15 23:29 
GeneralRe: jsp Pin
Richard MacCutchan27-Oct-15 23:36
mveRichard MacCutchan27-Oct-15 23:36 
AnswerRe: jsp Pin
mohanbc1827-Oct-15 23:42
mohanbc1827-Oct-15 23:42 
GeneralRe: jsp Pin
Richard MacCutchan28-Oct-15 0:31
mveRichard MacCutchan28-Oct-15 0:31 
GeneralJava or JavaScript AKA where to start Pin
Vaclav_27-Oct-15 5:03
Vaclav_27-Oct-15 5:03 
GeneralRe: Java or JavaScript AKA where to start Pin
Richard MacCutchan27-Oct-15 5:26
mveRichard MacCutchan27-Oct-15 5:26 
GeneralRe: Java or JavaScript AKA where to start Pin
Vaclav_27-Oct-15 16:11
Vaclav_27-Oct-15 16:11 
QuestionJava RMI - chat app Pin
dzstef24-Oct-15 8:14
dzstef24-Oct-15 8:14 
Questionsolution for project Pin
Member 1208332323-Oct-15 22:57
Member 1208332323-Oct-15 22:57 
AnswerRe: solution for project Pin
Richard MacCutchan24-Oct-15 0:36
mveRichard MacCutchan24-Oct-15 0:36 
QuestionHomework help Pin
Member 1207437620-Oct-15 12:04
Member 1207437620-Oct-15 12:04 
AnswerRe: Homework help Pin
Peter Leow20-Oct-15 21:29
professionalPeter Leow20-Oct-15 21:29 
AnswerRe: Homework help Pin
Richard MacCutchan20-Oct-15 21:39
mveRichard MacCutchan20-Oct-15 21:39 
AnswerRe: Homework help Pin
Richard Deeming21-Oct-15 1:51
mveRichard Deeming21-Oct-15 1:51 
QuestionRe: Homework help Pin
Paul Conrad24-Oct-15 14:26
professionalPaul Conrad24-Oct-15 14:26 
QuestionCan we use a Bag class in a BST? Pin
Member 1205037111-Oct-15 8:17
Member 1205037111-Oct-15 8:17 
AnswerRe: Can we use a Bag class in a BST? Pin
Richard MacCutchan12-Oct-15 23:18
mveRichard MacCutchan12-Oct-15 23:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.