Syed Saifuddin

Ranch Hand
+ Follow
since Sep 01, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Syed Saifuddin

Dear All

I want to develop an application using JPA as ORM, Session Been as Business Layer and JSF as front end.
I started by DB design and generate JPA-Entity using my IDE. Now the second level is Session Bean.

My Question is about best practices. Either I have to put Entity-Manager in ORM Layer or to put it in Session Bean.

I am doing an enterprise Java EE6 application after a long time so if someone can reply in detail about standard and best practices, it will be more helpful.
Dear All,

I have experience with JSP, Struts and JSF all. But from last 2 year I was apart from development. Now I got a new project.

I started with mojaara JSF 2.1 and development is quite fast until I don't need to integrate javascript & servlet.
e.g.
when I tried to make 1 fileupload with JSF. it sucks.
when I want Ajax call on <select><option>One</option><option>Two</option><option>Three</option></select> again I have to work 3 time as compare to if I want the same in JSP.
...

I tried library like primefaces but then the problem of CSS is stopping me. it 2 difficult to change style-sheet for each component.

I am not too far from starting point. So I need advise from all expert that should I continue with JSF 2.1 or
basedon my scenario where javascript and css and ajax call is heavily required switch to simple JSP.


regards
Syed Saifuddin
5 years ago
JSF
Dear All,

I have experience with JSP, Struts and JSF all. But from last 2 year I was apart from development. Now I got a new project.

I started with mojaara JSF 2.1 and development is quite fast until I don't need to integrate javascript & servlet.
e.g.
when I tried to make 1 fileupload with JSF. it sucks.
when I want Ajax call on <select><option>One</option><option>Two</option><option>Three</option></select> again I have to work 3 time as compare to if I want the same in JSP.
...

I tried library like primefaces but then the problem of CSS is stopping me. it 2 difficult to change style-sheet for each component.

I am not too far from starting point. So I need advise from all expert that should I continue with JSF 2.1 or
basedon my scenario where javascript and css and ajax call is heavily required switch to simple JSP.


regards
Syed Saifuddin
5 years ago
JSF
Dear Alec

Try to use HashMap in the class to remember your method name.

if not clear share the small code and I will rewrite it for you

8 years ago
Hi Marco,

Perfection is always the best option. But time limitation and priorities are set in the project goal.
The highest priority is given to business logic and model and the lowest is given to view.

JSF pages is also develop by programmer or software engineer. if the markup is becoming problem for him then it took lots of time and not worth too much.

This is only my opinion. Not Standard

8 years ago
JSF
Check your config file also. config file of server.
Hi

JSF 2.0 is just released. We cannot predict about the next plan.
But with web development if I am the voting member I vote for loose xhtml.
else the development become more difficult.
8 years ago
JSF

Syed, 7 years of doing "what" in "what" industry and in "which" country?



In software houses. Some project to redevelop from RAX language to Java.
Other system (HRMIS) with JSP , Servlet,
implementation of FIX protocol with JMS and EJB. Swing are also there
E-Commerce application with struts and hibernate
Travel Agency System with JSF and JPA and Session bean

Definitely I use design patterns in above project
JDBC and transaction management is also a part of project


Have you been studying for Java for 7 years? .. or been working on your personal Java web site for 7 years? ....JMX, JME, EJB, Custom development, application server development?



never work on JMX
have working knowledge of Java ME (JME)
EJB very less exposure till J2EE 1.4.
but use extensively after JavaEE 5 launch.

Best regards
Syed Saifuddin
8 years ago
Dear All,

My actual question is about SAP BASIS and Java Developer. SAP has many other functional module which pays big money. But tell me about SAP BASIS.

Also after 7 year of experience it is good move to start from start.

thanks and regards
Syed Saifuddin
8 years ago
Dear All,

I have 7 year of experience in java and J2ee related technology. Now in my new job I got a chance to work as SAP BASIS Admin.

I am confuse about the switch of career.

Frankly our job is for money and respect. I want to know is there more career growth in SAP BASIS than Java.
or its better to stay with Java and J2ee.

I appreciate the feed back.

thanks and regards
Syed Saifuddin
9 years ago
hi Joanne Neal

Ya I look over google also and there is smpp-api and open-smpp library available. This need account in SIM service provider.

I dont want to go to them I just need to connect my GSM device and start sending SMS.

Thanks and Regards
9 years ago
Hi Everybody

Sun is removed the link to download comm.jar from its site. This mean there should be some alternative library to connect to COM port.

I am trying to send SMS from my PC using GSM modem. All the code sample I found over the net is using the comm API. Which is I thought depreciated.

Please tell if comm.jar is the only solution or there is other way to do this.
9 years ago
Hi Everybody

I am going to redesign a moderate size application (not v big but larger then normal).

Now I have few Question in my mind.

I am using JSF as front-end, EJB3 Session Bean for Business Logic and last but not the least JPA as domain model.

1 - With JPA we have a domain classes. Now its better to use entity as manage-bean for JSF or manage bean should be saperate.

2 - Using DTO (Data Transfer Object) is good practice or not in JEE5.

3 - Simplicity or Complexity but with EntityManager I feel no need of DAO but I am used to with DAO pattern. So again as best practice I have to make 1 session bean as DAO and call it from all the session bean where I write business logic or forget about DAO session bean and call EntityManager from all session bean everywhere.

4 - For initializing EJB JNDI is 1 way other way is
@EJB EJBCLASSNAME ejbclassobject; //this auto initialize and create object.

Initializing like above is standard or it is an extended support from some app server.

Thank You
Syed Saifuddin
hi Mark Spritzler

Thank You Mark Spritzler this really solve the big part of my problem.
but 1 more thing is left

in start of query I say count(contact) as smscount
and in last I write order by smscount desc.

If I dont put alias to the function how can I use order by
hi Mark Spritzler

sir but in case of aggregate function like count(field) how to get this function value.