Apr
22
2009
Eray
It was really a busy week for the project. I have completed the Venue Selection, Add Venue and Update Status parts with the help of Gokhan. I also helped our team for integration tasks. I added some new features to Google Maps component and also helped Cansin to improve capabilities of it. I also worked on AddEvent part and its client side has totally been completed. I am going to complete server side of it when some conflicts be solved.
no comments | tags: add event, add venue, eray, google maps, integration, update status, validator, venue selection
Apr
22
2009
Cansin
This week was mostly about bug fixing and integration. The url flow of venue selection facility was different than our current approach. Also there were some major bugs, which we got aware of by testing use cases. I have fixed these problems at venue selection.
Also I have finished Venue Profile View. What I did was basically to provide insiders information which was missing, to add a view which shows a map of the current venue and to provide links to ’see event’, ‘read comment’ views.
I think that we now have a solid, well integrated application; the only missing part of the project is edit views (user profile, venue etc.) and friendship,networking issues.
no comments | tags: bug fix, cansin, servlet, venue selection
Apr
16
2009
Cansin
As you all know, we’re having a problem with Netbeans while using svn+ssh. When we try to our first commit/update at Netbeans, the username is fetched from the localhost (i.e. cnsnyldz in my case) rather being fetched from what we entered at Netbeans IDE (i.e. e1449271).
Before now, we are obliged to do a dummy checkout first, then we could use svn. I have come up with a solution for this situation. I have deleted the project from my NetbeansProjects folder and re-checkout it from svn, using the below code:
svn+ssh://username@username@external.ceng.metu.edu.tr/home/svn/490.2009/praeda
Using two usernames consequently has solved my problem. I hope it also helps you.
1 comment | tags: cansin, netbeans, ssh, svn
Apr
15
2009
Eray
The work done can be listed as follow:
- Google Map component’s ajax implementation has been replaced with jquery’s ajax handling functions.
- Google Map component has been embedded into VenueSelection page.
- VenueSelection page’s parameter passing mechanism implemented.
- Validators for AddVenue page has been written.
- AddVenue and UpdateStatus is under construct. I have to work with Gokhan to solve some conflicts.
no comments | tags: add venue, ajax, eray, google maps, jquery, update status, venue selection
Apr
9
2009
Eray
Google Maps Compoenent is ready to use. I tried to integrate Google Web Toolkit into our project. The method I worked on was to use GWT’s rpc support and then to use the generated stub of it inside jsp. Since it is a very good practice to write platform independent AJAX code in totally JAVA I chose this method by I concluded that it is actually not a good idea.
Therefore, I have written a servlet that returns a JSON object for the server side and I implemented the client-side in JavaScript.
no comments | tags: ajax, eray, json, web service
Apr
8
2009
Cansin
This week I have mostly completed the venue profile view. The Venue Profile View is integrated with both Database and Last.fm. The main page of the venue view is completed. Since we have too little area for large amount of data, Murat came up with an idea using jQuery’s accordion widget. So, I have integrated jQuery to our project and used an accordion widget (sliding vertical tabs) to show ‘recently played’ and ‘insiders’ data.
Next week we will implement comment structure with Gokhan, both the interface and background. Also while Murat and Eray are implementing event management, I will also implement the necessary interface at venue profile view.
no comments | tags: cansin, css, interface, jquery, jsp
Apr
8
2009
Gokhan
Signup part is completed except for security checks. Now signup consists of two parts.In first part, tags insertions are enabled and in second part, user’s other network accounts are added to database.
Venue Selection part is completed in low-level code. After getting the necessary information from google map, user’s status will be updated on the database and if exist, twitter account will be updated. Moreover, if venue does not exist on the database, user are able to add it to the database(Google map integration is not fully completed).After selecting or adding venue, user will be directed to comment page.In which, users are able to comment about the venue.However, comment venue page is just implemented with database insertion.
no comments | tags: add, comment, gokhan, selection, signup, tag, venue
Apr
7
2009
Murat
If you are using svn+ssh protocol for version control system, you can be bored to enter your password each time you want to update, commit etc. You can use SSH Private Key Authentication method to get rid of this. Follow these steps:
In your client computer, create a key-pair and upload it to the server:
ssh-keygen -t dsa -f ~/.ssh/id_dsa -P ”
scp ~/.ssh/id_dsa.pub <username>@<server>:
Connect to the server using ssh and save your public key:
ssh <user>@<server>
cat id_dsa.pub >> ~/.ssh/authorized_keys2
chmod 600 ~/.ssh/authorized_keys2
Then, add this private key file into NetBeans:
- Open Versioning->Checkout menu.
- Edit tunnel command as, “ssh -l <username> -i ~/.ssh/id_dsa”
Now, you should be able to use this repository without entering your password.
no comments | tags: murat, netbeans, ssh, svn
Apr
2
2009
Eray
I worked on the Ajax support of our Google Maps integration. I am working with Google Web Toolkit’s rpc support. Although it is stated that in its api that serializable classes can be sent via this method and our auto-generated classes take advantage of java’s serializable interface there is a problem. I am going to work on this problem.
no comments | tags: ajax, eray, google web toolkit
Apr
1
2009
Murat
Recently, I’ve added necessary methods to connect last.fm accounts of users and synchronize them. While testing new features, I’ve realized an instability in the database. It is due to the caching feature (not bug) of Java Persistence API. If you run a query through Persistence, then edit something from database directly, JPA does not recognize it. If you run the same query again, you get exactly the previous result. That’s why, if you use Persistence somewhere in your application, you should better use it throughout your application and not to access the database by another method. You may also modify caching properties of Persistence but it is not recommended because of performance loss. Detailed information can be found here: http://blogs.sun.com/enterprisetechtips/entry/how_to_get_the_best
no comments | tags: cache, murat, persistence